Update build number

pull/347/head
Niels Andriesse 4 years ago
parent a23081409b
commit bc58dfd94e

@ -587,8 +587,7 @@ typedef enum : NSUInteger {
[self applyTheme]; [self applyTheme];
[self.conversationViewModel viewDidLoad]; [self.conversationViewModel viewDidLoad];
[LKViewControllerUtilities setUpDefaultSessionStyleForVC:self withTitle:nil customBackButton:YES]; self.collectionView.backgroundColor = UIColor.systemPinkColor;
self.collectionView.backgroundColor = UIColor.clearColor;
UIBarButtonItem *settingsButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Gear"] style:UIBarButtonItemStylePlain target:self action:@selector(showConversationSettings)]; UIBarButtonItem *settingsButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Gear"] style:UIBarButtonItemStylePlain target:self action:@selector(showConversationSettings)];
settingsButton.tintColor = LKColors.text; settingsButton.tintColor = LKColors.text;
settingsButton.accessibilityLabel = @"Conversation settings button"; settingsButton.accessibilityLabel = @"Conversation settings button";

@ -321,9 +321,15 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, UIViewC
if let presentedVC = self.presentedViewController { if let presentedVC = self.presentedViewController {
presentedVC.dismiss(animated: false, completion: nil) presentedVC.dismiss(animated: false, completion: nil)
} }
let conversationVC = ConversationVC(thread: thread) let displayName = OWSProfileManager.shared().profileNameForRecipient(withID: getUserHexEncodedPublicKey())
// conversationVC.configure(for: thread, action: action, focusMessageId: highlightedMessageID) 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
self.navigationController?.setViewControllers([ self, conversationVC ], animated: true) 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)
}
} }
} }

Loading…
Cancel
Save