mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
Move RequestContactsAccessFooterView into ContactsTableViewController.
Remove automatic triggering of contacts access.
This commit is contained in:
@@ -50,6 +50,11 @@ typedef enum : NSUInteger
|
||||
NSMutableArray<MXKContact*> *filteredMatrixContacts;
|
||||
}
|
||||
|
||||
/**
|
||||
Whether or not the data source has any local contacts loaded.
|
||||
*/
|
||||
- (BOOL)hasLocalContacts;
|
||||
|
||||
/**
|
||||
Get the contact at the given index path.
|
||||
|
||||
|
||||
@@ -660,6 +660,11 @@
|
||||
|
||||
#pragma mark -
|
||||
|
||||
- (BOOL)hasLocalContacts
|
||||
{
|
||||
return filteredLocalContacts.count;
|
||||
}
|
||||
|
||||
-(MXKContact *)contactAtIndexPath:(NSIndexPath*)indexPath
|
||||
{
|
||||
NSInteger row = indexPath.row;
|
||||
|
||||
Reference in New Issue
Block a user