mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 05:36:57 +02:00
VectorDesignValues: Load Vector colors at the app load time for the life of the app
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
// Setup `MXKRoomMemberListViewController` properties
|
||||
self.rageShakeManager = [RageShakeManager sharedManager];
|
||||
|
||||
self.tableView.backgroundColor = VECTOR_LIGHT_GRAY_COLOR;
|
||||
self.tableView.backgroundColor = kVectorColorLightGrey;
|
||||
|
||||
// Add observer to handle removed accounts
|
||||
removedAccountObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kMXKAccountManagerDidRemoveAccountNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {
|
||||
@@ -421,7 +421,7 @@
|
||||
|
||||
[signOutCell.mxkButton setTitle:title forState:UIControlStateNormal];
|
||||
[signOutCell.mxkButton setTitle:title forState:UIControlStateHighlighted];
|
||||
[signOutCell.mxkButton setTintColor:VECTOR_GREEN_COLOR];
|
||||
[signOutCell.mxkButton setTintColor:kVectorColorGreen];
|
||||
signOutCell.mxkButton.titleLabel.font = [UIFont boldSystemFontOfSize:16];
|
||||
|
||||
[signOutCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
@@ -535,7 +535,7 @@
|
||||
else if (row == USER_SETTINGS_NIGHT_MODE_SEP_INDEX)
|
||||
{
|
||||
UITableViewCell *sepCell = [[UITableViewCell alloc] init];
|
||||
sepCell.backgroundColor = VECTOR_LIGHT_GRAY_COLOR;
|
||||
sepCell.backgroundColor = kVectorColorLightGrey;
|
||||
|
||||
cell = sepCell;
|
||||
}
|
||||
@@ -713,7 +713,7 @@
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
UIView *sectionHeader = [[UIView alloc] initWithFrame:[tableView rectForHeaderInSection:section]];
|
||||
sectionHeader.backgroundColor = VECTOR_LIGHT_GRAY_COLOR;
|
||||
sectionHeader.backgroundColor = kVectorColorLightGrey;
|
||||
|
||||
if (section == SETTINGS_SECTION_SIGN_OUT_INDEX)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user