From d11db4cb03471f1ae64aaf472312ffb8ffb64099 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 18 Mar 2021 16:25:46 +1100 Subject: [PATCH] Fix edit nickname button showing up for group threads --- .../Settings/OWSConversationSettingsViewController.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Session/Conversations/Settings/OWSConversationSettingsViewController.m b/Session/Conversations/Settings/OWSConversationSettingsViewController.m index cf9fe6a4f..45b683caf 100644 --- a/Session/Conversations/Settings/OWSConversationSettingsViewController.m +++ b/Session/Conversations/Settings/OWSConversationSettingsViewController.m @@ -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