MESSENGER-4535 fix invitation into DMs and personal notes and cancelable passphrase flow cherry pick from release

This commit is contained in:
Frank Rotermund
2023-04-12 15:32:51 +02:00
parent 59c5739ba4
commit aeba8c917a
2 changed files with 9 additions and 19 deletions
@@ -155,13 +155,15 @@
[self.tableView registerClass:ContactTableViewCell.class forCellReuseIdentifier:@"ParticipantTableViewCellId"];
if (_showInviteUserFab)
{
// Add invite members button programmatically
[self vc_addFABWithImage:AssetImages.addMemberFloatingAction.image
target:self
action:@selector(onAddParticipantButtonPressed)];
}
// bwi: too early to tell if button should be added -> we need mxRoom
// if (_showInviteUserFab)
// {
// // Add invite members button programmatically
// [self vc_addFABWithImage:AssetImages.addMemberFloatingAction.image
// target:self
// action:@selector(onAddParticipantButtonPressed)];
// }
// Observe user interface theme change.
kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {