Fix edit nickname button showing up for group threads

This commit is contained in:
Niels Andriesse 2021-03-18 16:25:46 +11:00
parent ede6deb259
commit d11db4cb03
1 changed files with 3 additions and 1 deletions

View File

@ -265,7 +265,9 @@ CGFloat kIconViewLength = 24;
[LKViewControllerUtilities setUpDefaultSessionStyleForVC:self withTitle:title customBackButton:YES];
self.tableView.backgroundColor = UIColor.clearColor;
[self updateNavBarButtons];
if ([self.thread isKindOfClass:TSContactThread.class]) {
[self updateNavBarButtons];
}
}
- (void)updateTableContents