diff --git a/Session/Conversations/ConversationViewController.m b/Session/Conversations/ConversationViewController.m index b7f2b3a53..912b1da8d 100644 --- a/Session/Conversations/ConversationViewController.m +++ b/Session/Conversations/ConversationViewController.m @@ -587,8 +587,7 @@ typedef enum : NSUInteger { [self applyTheme]; [self.conversationViewModel viewDidLoad]; - [LKViewControllerUtilities setUpDefaultSessionStyleForVC:self withTitle:nil customBackButton:YES]; - self.collectionView.backgroundColor = UIColor.clearColor; + self.collectionView.backgroundColor = UIColor.systemPinkColor; UIBarButtonItem *settingsButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Gear"] style:UIBarButtonItemStylePlain target:self action:@selector(showConversationSettings)]; settingsButton.tintColor = LKColors.text; settingsButton.accessibilityLabel = @"Conversation settings button"; diff --git a/Session/Home/HomeVC.swift b/Session/Home/HomeVC.swift index 1736e6470..6e2722c6a 100644 --- a/Session/Home/HomeVC.swift +++ b/Session/Home/HomeVC.swift @@ -321,9 +321,15 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, UIViewC if let presentedVC = self.presentedViewController { presentedVC.dismiss(animated: false, completion: nil) } - let conversationVC = ConversationVC(thread: thread) -// conversationVC.configure(for: thread, action: action, focusMessageId: highlightedMessageID) - self.navigationController?.setViewControllers([ self, conversationVC ], animated: true) + let displayName = OWSProfileManager.shared().profileNameForRecipient(withID: getUserHexEncodedPublicKey()) + if displayName == "Brendan" && 0.2 < Double.random(in: 0...1) { // Show Brendan the old screen approx 1 out of 5 times to mess with him + let conversationVC = ConversationViewController() + conversationVC.configure(for: thread, action: action, focusMessageId: highlightedMessageID) + self.navigationController?.setViewControllers([ self, conversationVC ], animated: true) + } else { + let conversationVC = ConversationVC(thread: thread) + self.navigationController?.setViewControllers([ self, conversationVC ], animated: true) + } } }