mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Prepare #904: Improve the people invite screens
- Make `HomePeopleSearchViewController` inherit of the new class `ContactsTableViewController` to handle room members.
This commit is contained in:
@@ -76,6 +76,8 @@
|
||||
{
|
||||
[super finalizeInit];
|
||||
|
||||
self.forceMatrixIdInDisplayName = YES;
|
||||
|
||||
_isAddParticipantScreenDisplaying = NO;
|
||||
}
|
||||
|
||||
@@ -399,7 +401,7 @@
|
||||
// Apply the search pattern if any
|
||||
if (currentSearchText)
|
||||
{
|
||||
[self searchWithPattern:currentSearchText forceRefresh:YES];
|
||||
[self searchWithPattern:currentSearchText forceReset:YES];
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1538,7 +1540,7 @@
|
||||
{
|
||||
if (_isAddParticipantScreenDisplaying)
|
||||
{
|
||||
[self searchWithPattern:searchText forceRefresh:NO];
|
||||
[self searchWithPattern:searchText forceReset:NO];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1654,7 +1656,7 @@
|
||||
self.isAddParticipantScreenDisplaying = NO;
|
||||
|
||||
// Reset filtering
|
||||
[self searchWithPattern:nil forceRefresh:NO];
|
||||
[self searchWithPattern:nil forceReset:NO];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user