Update build number

pull/347/head
Niels Andriesse 5 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,11 +321,17 @@ 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 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) let conversationVC = ConversationVC(thread: thread)
// conversationVC.configure(for: thread, action: action, focusMessageId: highlightedMessageID)
self.navigationController?.setViewControllers([ self, conversationVC ], animated: true) self.navigationController?.setViewControllers([ self, conversationVC ], animated: true)
} }
} }
}
func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool { func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
return true return true

Loading…
Cancel
Save