mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
ContactsTableViewController: Remove the count in the Local contacts header,
when no search is in progress.
This commit is contained in:
@@ -681,7 +681,14 @@
|
||||
|
||||
if (section == filteredLocalContactsSection)
|
||||
{
|
||||
headerLabel.text = [NSString stringWithFormat:NSLocalizedStringFromTable(@"contacts_address_book_section", @"Vector", nil), filteredLocalContacts.count];
|
||||
if (currentSearchText.length)
|
||||
{
|
||||
headerLabel.text = [NSString stringWithFormat:NSLocalizedStringFromTable(@"contacts_address_book_section", @"Vector", nil), filteredLocalContacts.count];
|
||||
}
|
||||
else
|
||||
{
|
||||
headerLabel.text = [NSString stringWithFormat:NSLocalizedStringFromTable(@"contacts_address_book_default_section", @"Vector", nil), filteredLocalContacts.count];
|
||||
}
|
||||
sectionBitwise = CONTACTS_TABLEVC_LOCALCONTACTS_BITWISE;
|
||||
}
|
||||
else //if (section == filteredMatrixContactsSection)
|
||||
|
||||
Reference in New Issue
Block a user