diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m index 838665036..c464ee2f2 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m @@ -1320,11 +1320,11 @@ typedef enum : NSUInteger { if (OWSWindowManager.sharedManager.hasCall) { callButton.enabled = NO; callButton.userInteractionEnabled = NO; - callButton.tintColor = UIColor.lightGrayColor; + callButton.tintColor = [UIColor.ows_navbarForegroundColor colorWithAlphaComponent:0.7]; } else { callButton.enabled = YES; callButton.userInteractionEnabled = YES; - callButton.tintColor = UIColor.whiteColor; + callButton.tintColor = UIColor.ows_navbarForegroundColor; } UIEdgeInsets imageEdgeInsets = UIEdgeInsetsZero; @@ -1352,7 +1352,7 @@ typedef enum : NSUInteger { DisappearingTimerConfigurationView *timerView = [[DisappearingTimerConfigurationView alloc] initWithDurationSeconds:self.disappearingMessagesConfiguration.durationSeconds]; timerView.delegate = self; - timerView.tintColor = UIColor.whiteColor; + timerView.tintColor = UIColor.ows_navbarForegroundColor; // As of iOS11, we can size barButton item custom views with autoLayout. // Before that, though we can still use autoLayout *within* the customView, diff --git a/Signal/src/ViewControllers/HomeView/HomeViewController.m b/Signal/src/ViewControllers/HomeView/HomeViewController.m index ac3585d95..b25059a1f 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewController.m @@ -275,6 +275,8 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations [self.view addSubview:self.tableView]; [self.tableView autoPinWidthToSuperview]; [self.tableView autoPinEdgeToSuperviewEdge:ALEdgeBottom]; + + // TODO - have content scroll behind navbar will require changing this. [self.tableView autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:reminderStackView]; self.tableView.rowHeight = UITableViewAutomaticDimension; self.tableView.estimatedRowHeight = 60; diff --git a/SignalMessaging/ViewControllers/OWSTableViewController.m b/SignalMessaging/ViewControllers/OWSTableViewController.m index fe93caee5..624160eb9 100644 --- a/SignalMessaging/ViewControllers/OWSTableViewController.m +++ b/SignalMessaging/ViewControllers/OWSTableViewController.m @@ -457,9 +457,7 @@ NSString *const kOWSTableCellIdentifier = @"kOWSTableCellIdentifier"; [self.tableView applyScrollViewInsetsFix]; [self.view addSubview:self.tableView]; - [self.tableView autoPinWidthToSuperview]; - [self.tableView autoPinToTopLayoutGuideOfViewController:self withInset:0]; - [self.tableView autoPinEdgeToSuperviewEdge:ALEdgeBottom]; + [self.tableView autoPinEdgesToSuperviewEdges]; [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:kOWSTableCellIdentifier]; }