|
|
|
@ -1321,11 +1321,11 @@ typedef enum : NSUInteger {
|
|
|
|
|
if (OWSWindowManager.sharedManager.hasCall) {
|
|
|
|
|
callButton.enabled = NO;
|
|
|
|
|
callButton.userInteractionEnabled = NO;
|
|
|
|
|
callButton.tintColor = [UIColor.ows_navbarForegroundColor colorWithAlphaComponent:0.7];
|
|
|
|
|
callButton.tintColor = [UIColor.ows_navbarIconColor colorWithAlphaComponent:0.7];
|
|
|
|
|
} else {
|
|
|
|
|
callButton.enabled = YES;
|
|
|
|
|
callButton.userInteractionEnabled = YES;
|
|
|
|
|
callButton.tintColor = UIColor.ows_navbarForegroundColor;
|
|
|
|
|
callButton.tintColor = UIColor.ows_navbarIconColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UIEdgeInsets imageEdgeInsets = UIEdgeInsetsZero;
|
|
|
|
@ -1353,7 +1353,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
DisappearingTimerConfigurationView *timerView = [[DisappearingTimerConfigurationView alloc]
|
|
|
|
|
initWithDurationSeconds:self.disappearingMessagesConfiguration.durationSeconds];
|
|
|
|
|
timerView.delegate = self;
|
|
|
|
|
timerView.tintColor = UIColor.ows_navbarForegroundColor;
|
|
|
|
|
timerView.tintColor = UIColor.ows_navbarIconColor;
|
|
|
|
|
|
|
|
|
|
// As of iOS11, we can size barButton item custom views with autoLayout.
|
|
|
|
|
// Before that, though we can still use autoLayout *within* the customView,
|
|
|
|
@ -1375,7 +1375,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
{
|
|
|
|
|
NSMutableAttributedString *subtitleText = [NSMutableAttributedString new];
|
|
|
|
|
|
|
|
|
|
UIColor *subtitleColor = [UIColor.ows_navbarForegroundColor colorWithAlphaComponent:(CGFloat)0.9];
|
|
|
|
|
UIColor *subtitleColor = [UIColor.ows_navbarTitleColor colorWithAlphaComponent:(CGFloat)0.9];
|
|
|
|
|
if (self.thread.isMuted) {
|
|
|
|
|
// Show a "mute" icon before the navigation bar subtitle if this thread is muted.
|
|
|
|
|
[subtitleText
|
|
|
|
|