run template, add entrypoint and update BuildSetting

This commit is contained in:
David Langley
2021-08-05 09:30:01 +01:00
parent 448b4cc66f
commit 4865d9d3a5
18 changed files with 726 additions and 21 deletions
+2 -2
View File
@@ -348,7 +348,7 @@
tableViewCell.notificationsButton.tag = room.isMute || room.isMentionsOnly;
[tableViewCell.notificationsButton addTarget:self action:@selector(onNotificationsButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
if ([BuildSettings roomSettingsScreenShowNotificationsV2])
if ([BuildSettings showNotificationsV2])
{
tableViewCell.notificationsImageView.image = tableViewCell.notificationsButton.tag ? [UIImage imageNamed:@"room_action_notification_muted"] : [UIImage imageNamed:@"room_action_notification"];
}
@@ -672,7 +672,7 @@
MXRoom *room = [self.mainSession roomWithRoomId:editedRoomId];
if (room)
{
if ([BuildSettings roomSettingsScreenShowNotificationsV2])
if ([BuildSettings showNotificationsV2])
{
[self changeEditedRoomNotificationSettings];
}