mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
reskin: rename ColorValues to Theme
This commit is contained in:
@@ -2213,7 +2213,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
topicTextView.text = mxRoomState.topic;
|
||||
}
|
||||
|
||||
topicTextView.tintColor = RiotDesignValues.colorValues.tintColor;
|
||||
topicTextView.tintColor = RiotDesignValues.theme.tintColor;
|
||||
topicTextView.font = [UIFont systemFontOfSize:15];
|
||||
topicTextView.bounces = NO;
|
||||
topicTextView.delegate = self;
|
||||
@@ -2242,7 +2242,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
nameTextField = roomNameCell.mxkTextField;
|
||||
|
||||
nameTextField.tintColor = RiotDesignValues.colorValues.tintColor;
|
||||
nameTextField.tintColor = RiotDesignValues.theme.tintColor;
|
||||
nameTextField.font = [UIFont systemFontOfSize:17];
|
||||
nameTextField.borderStyle = UITextBorderStyleNone;
|
||||
nameTextField.textAlignment = NSTextAlignmentRight;
|
||||
@@ -2320,7 +2320,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
[leaveCell.mxkButton setTitle:title forState:UIControlStateNormal];
|
||||
[leaveCell.mxkButton setTitle:title forState:UIControlStateHighlighted];
|
||||
[leaveCell.mxkButton setTintColor:RiotDesignValues.colorValues.tintColor];
|
||||
[leaveCell.mxkButton setTintColor:RiotDesignValues.theme.tintColor];
|
||||
leaveCell.mxkButton.titleLabel.font = [UIFont systemFontOfSize:17];
|
||||
|
||||
[leaveCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
@@ -2509,7 +2509,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
addAddressTextField.text = currentValue;
|
||||
addAddressTextField.textColor = kRiotSecondaryTextColor;
|
||||
|
||||
addAddressTextField.tintColor = RiotDesignValues.colorValues.tintColor;
|
||||
addAddressTextField.tintColor = RiotDesignValues.theme.tintColor;
|
||||
addAddressTextField.font = [UIFont systemFontOfSize:17];
|
||||
addAddressTextField.borderStyle = UITextBorderStyleNone;
|
||||
addAddressTextField.textAlignment = NSTextAlignmentLeft;
|
||||
@@ -2600,7 +2600,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
addGroupTextField.text = currentValue;
|
||||
addGroupTextField.textColor = kRiotSecondaryTextColor;
|
||||
|
||||
addGroupTextField.tintColor = RiotDesignValues.colorValues.tintColor;
|
||||
addGroupTextField.tintColor = RiotDesignValues.theme.tintColor;
|
||||
addGroupTextField.font = [UIFont systemFontOfSize:17];
|
||||
addGroupTextField.borderStyle = UITextBorderStyleNone;
|
||||
addGroupTextField.textAlignment = NSTextAlignmentLeft;
|
||||
@@ -2672,7 +2672,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
MXKTableViewCellWithLabelAndSwitch *roomBlacklistUnverifiedDevicesCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
|
||||
|
||||
[roomBlacklistUnverifiedDevicesCell.mxkSwitch addTarget:self action:@selector(toggleBlacklistUnverifiedDevice:) forControlEvents:UIControlEventValueChanged];
|
||||
roomBlacklistUnverifiedDevicesCell.mxkSwitch.onTintColor = RiotDesignValues.colorValues.tintColor;
|
||||
roomBlacklistUnverifiedDevicesCell.mxkSwitch.onTintColor = RiotDesignValues.theme.tintColor;
|
||||
|
||||
roomBlacklistUnverifiedDevicesCell.mxkLabel.text = NSLocalizedStringFromTable(@"room_details_advanced_e2e_encryption_blacklist_unverified_devices", @"Vector", nil);
|
||||
|
||||
@@ -2803,7 +2803,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
cell.mxkLabel.textColor = kRiotPrimaryTextColor;
|
||||
|
||||
cell.mxkSwitch.onTintColor = RiotDesignValues.colorValues.tintColor;
|
||||
cell.mxkSwitch.onTintColor = RiotDesignValues.theme.tintColor;
|
||||
[cell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventValueChanged];
|
||||
|
||||
// Reset the stored `directoryVisibilitySwitch` if the corresponding cell is reused.
|
||||
|
||||
Reference in New Issue
Block a user