reskin: remove bar style ivars from RiotDesignValues

This commit is contained in:
manuroe
2019-01-10 17:08:32 +01:00
parent 3bacf204d5
commit 7b40258d05
40 changed files with 44 additions and 76 deletions
@@ -64,7 +64,7 @@
[super customizeViewRendering];
// Use same color as navigation bar
self.mainHeaderBackground.backgroundColor = kRiotDesignNavigationBarBarTintColor;
self.mainHeaderBackground.backgroundColor = RiotDesignValues.theme.baseColor;
self.roomTopic.textColor = kRiotTopicTextColor;
@@ -138,8 +138,8 @@
[super customizeViewRendering];
// Use same color as navigation bar
self.backgroundColor = kRiotDesignNavigationBarBarTintColor;
self.displayNameTextField.textColor = (self.mxRoom.summary.displayname.length ? kRiotDesignNavigationBarTintColor : kRiotSecondaryTextColor);
self.backgroundColor = RiotDesignValues.theme.baseColor;
self.displayNameTextField.textColor = (self.mxRoom.summary.displayname.length ? RiotDesignValues.theme.baseTextPrimaryColor : kRiotSecondaryTextColor);
}
- (void)setRoomPreviewData:(RoomPreviewData *)roomPreviewData
@@ -168,7 +168,7 @@
}
else
{
self.displayNameTextField.textColor = kRiotDesignNavigationBarTintColor;
self.displayNameTextField.textColor = RiotDesignValues.theme.baseTextPrimaryColor;
}
}
}