Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the people invite screens #982

Merged
merged 2 commits into from
Jan 27, 2017
Merged

Improve the people invite screens #982

merged 2 commits into from
Jan 27, 2017

Conversation

giomfo
Copy link
Member

@giomfo giomfo commented Jan 27, 2017

#904

  • Keep visible the Local contacts header even if no local contacts is displayed in order to keep visible the check box "Matrix user only".

#904

- Keep visible the Local contacts header even if no local contacts is displayed in order to keep visible the check box "Matrix user only".
@giomfo giomfo requested a review from manuroe January 27, 2017 10:56
@@ -685,12 +681,13 @@ - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger

if (section == filteredLocalContactsSection)
{
headerLabel.text = NSLocalizedStringFromTable(@"contacts_address_book_section", @"Vector", nil);
headerLabel.text = [NSString stringWithFormat:@"%@ (%tu)", NSLocalizedStringFromTable(@"contacts_address_book_section", @"Vector", nil), filteredLocalContacts.count];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we not move (%tu) into the i18n "contacts_address_book_section" string?

sectionBitwise = CONTACTS_TABLEVC_LOCALCONTACTS_BITWISE;
}
else //if (section == filteredMatrixContactsSection)
{
headerLabel.text = NSLocalizedStringFromTable(@"contacts_matrix_users_section", @"Vector", nil);
headerLabel.text = [NSString stringWithFormat:@"%@ (%tu)", NSLocalizedStringFromTable(@"contacts_matrix_users_section", @"Vector", nil), filteredMatrixContacts.count];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

#904

- Keep visible the Local contacts header even if no local contacts is displayed in order to keep visible the check box "Matrix user only".
@giomfo giomfo merged commit 452da50 into develop Jan 27, 2017
@giomfo giomfo deleted the local_contact_checkbox branch January 27, 2017 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants