mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
User directory: Display "Search in progress..." instead of "No results" when we are searching
This commit is contained in:
@@ -600,7 +600,15 @@
|
||||
// Check whether a search session is in progress
|
||||
if (currentSearchText.length)
|
||||
{
|
||||
tableViewCell.textLabel.text = NSLocalizedStringFromTable(@"search_no_result", @"Vector", nil);
|
||||
if (indexPath.section == filteredMatrixContactsSection &&
|
||||
(_userDirectoryState == ContactsDataSourceUserDirectoryStateLoading || _userDirectoryState == ContactsDataSourceUserDirectoryStateOfflineLoading))
|
||||
{
|
||||
tableViewCell.textLabel.text = [NSBundle mxk_localizedStringForKey:@"search_searching"];
|
||||
}
|
||||
else
|
||||
{
|
||||
tableViewCell.textLabel.text = NSLocalizedStringFromTable(@"search_no_result", @"Vector", nil);
|
||||
}
|
||||
}
|
||||
else if (indexPath.section == filteredLocalContactsSection)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user