MESSENGER-3352 build settings

This commit is contained in:
Arnfried Griesert
2022-10-27 09:06:24 +00:00
parent e2a2eb4c61
commit 86aa5365bb
103 changed files with 1013 additions and 1360 deletions
@@ -100,7 +100,7 @@
if (0 < roomCellData.notificationCount)
{
if( [BwiBuildSettings showMentionsInRoom] ) {
if( [BWIBuildSettings.shared showMentionsInRoom] ) {
self.missedNotifAndUnreadIndicator.backgroundColor = [Mentions countMentionsWithRoomID:roomCellData.roomIdentifier] > 0 ? ThemeService.shared.theme.noticeColor : ThemeService.shared.theme.noticeSecondaryColor;
} else {
self.missedNotifAndUnreadIndicator.backgroundColor = roomCellData.highlightCount ? ThemeService.shared.theme.noticeColor : ThemeService.shared.theme.noticeSecondaryColor;
@@ -132,7 +132,7 @@
// bwi: if the room is a personal notes room a local image is used as room avatar
PersonalNotesDefaultService *service = [[PersonalNotesDefaultService alloc] initWithMxSession:roomCellData.mxSession];
if (BwiBuildSettings.bwiUseCustomPersonalNotesAvatar && [roomCellData.roomIdentifier isEqualToString:[service personalNotesRoomId]]) {
if (BWIBuildSettings.shared.bwiUseCustomPersonalNotesAvatar && [roomCellData.roomIdentifier isEqualToString:[service personalNotesRoomId]]) {
self.roomAvatar.image = [UIImage imageNamed:[service avatarImageUrl]];
} else {
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.avatarUrl