mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
https://github.com/vector-im/vector-ios/issues/178: Make room members UI more intuitive
The keyboard Done button acts as a cancelation of the invitation process. Fixed the plus icon that was unexpectedly displayed when trying to remove a member
This commit is contained in:
@@ -556,10 +556,12 @@
|
||||
if (!participantCell)
|
||||
{
|
||||
participantCell = [[ContactTableViewCell alloc] init];
|
||||
// do not show the custom accessory view
|
||||
participantCell.showCustomAccessoryView = NO;
|
||||
}
|
||||
|
||||
|
||||
// Reset the custom accessory view
|
||||
participantCell.showCustomAccessoryView = NO;
|
||||
[participantCell.customAccessoryView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
|
||||
|
||||
participantCell.mxRoom = self.mxRoom;
|
||||
|
||||
Contact *contact = nil;
|
||||
@@ -1187,9 +1189,8 @@
|
||||
|
||||
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar
|
||||
{
|
||||
// "Done" key has been pressed
|
||||
self.isAddParticipantSearchBarEditing = NO;
|
||||
[searchBar resignFirstResponder];
|
||||
// "Done" key has been pressed. Cancel the invitation process
|
||||
[self searchBarCancelButtonClicked:searchBar];
|
||||
}
|
||||
|
||||
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar
|
||||
|
||||
Reference in New Issue
Block a user