mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Reskin: Factorise *RoomTitleViews
and apply them kRiotDesignNavigationBarBarTintColor as background color to mimic the nav bar color
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
{
|
||||
[super customizeViewRendering];
|
||||
|
||||
self.displayNameTextField.textColor = (self.mxRoom.summary.displayname.length ? kRiotPrimaryTextColor : kRiotSecondaryTextColor);
|
||||
self.roomTopic.textColor = kRiotTopicTextColor;
|
||||
self.roomMembers.textColor = kRiotColorGreen;
|
||||
}
|
||||
@@ -51,17 +50,6 @@
|
||||
{
|
||||
[self.mxRoom.summary setRoomAvatarImageIn:self.roomAvatar];
|
||||
|
||||
self.displayNameTextField.text = self.mxRoom.summary.displayname;
|
||||
if (!self.displayNameTextField.text.length)
|
||||
{
|
||||
self.displayNameTextField.text = [NSBundle mxk_localizedStringForKey:@"room_displayname_empty_room"];
|
||||
self.displayNameTextField.textColor = kRiotSecondaryTextColor;
|
||||
}
|
||||
else
|
||||
{
|
||||
self.displayNameTextField.textColor = kRiotPrimaryTextColor;
|
||||
}
|
||||
|
||||
self.roomTopic.text = [MXTools stripNewlineCharacters:self.mxRoom.summary.topic];
|
||||
|
||||
// Compute active members count
|
||||
|
||||
Reference in New Issue
Block a user