mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
MESSENGER-4966 color changes login flow and all chat
This commit is contained in:
committed by
Arnfried Griesert
parent
c62942c44e
commit
867a5fea98
@@ -2803,6 +2803,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
MXKTableViewCellWithLabelAndSwitch *roomBlacklistUnverifiedDevicesCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
|
||||
|
||||
[roomBlacklistUnverifiedDevicesCell.mxkSwitch addTarget:self action:@selector(toggleBlacklistUnverifiedDevice:) forControlEvents:UIControlEventValueChanged];
|
||||
roomBlacklistUnverifiedDevicesCell.mxkSwitch.thumbTintColor = ThemeService.shared.theme.backgroundColor;
|
||||
roomBlacklistUnverifiedDevicesCell.mxkSwitch.onTintColor = ThemeService.shared.theme.tintColor;
|
||||
|
||||
roomBlacklistUnverifiedDevicesCell.mxkLabel.text = [VectorL10n roomDetailsAdvancedE2eEncryptionBlacklistUnverifiedDevices];
|
||||
@@ -2916,6 +2917,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
cell.mxkLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
|
||||
cell.mxkSwitch.thumbTintColor = ThemeService.shared.theme.backgroundColor;
|
||||
cell.mxkSwitch.onTintColor = ThemeService.shared.theme.tintColor;
|
||||
[cell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventValueChanged];
|
||||
|
||||
@@ -3783,6 +3785,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
[toggleCell.mxkSwitch addTarget:self action:@selector(toggleNotificationTimes:) forControlEvents:UIControlEventValueChanged];
|
||||
|
||||
toggleCell.mxkLabel.text = BWIL10n.settingsEnableNotificationTimes;
|
||||
toggleCell.mxkSwitch.thumbTintColor = ThemeService.shared.theme.backgroundColor;
|
||||
toggleCell.mxkSwitch.onTintColor = ThemeService.shared.theme.tintColor;
|
||||
toggleCell.mxkSwitch.on = [self isNotificationTimesSwitchOn];
|
||||
toggleCell.mxkSwitch.enabled = [self isNotificationTimesSwitchEnabled];
|
||||
|
||||
Reference in New Issue
Block a user