mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
DeactivateAccountViewController theme, fixes #2993
Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
@@ -86,15 +86,14 @@ static CGFloat const kTextFontSize = 15.0;
|
||||
self.title = NSLocalizedStringFromTable(@"deactivate_account_title", @"Vector", nil);
|
||||
|
||||
self.errorPresentation = [[MXKErrorAlertPresentation alloc] init];
|
||||
[self setupStringAttributes];
|
||||
[self setupViews];
|
||||
[self userInterfaceThemeDidChange];
|
||||
[self registerThemeNotification];
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated
|
||||
{
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
[self userInterfaceThemeDidChange];
|
||||
|
||||
// Screen tracking
|
||||
[[Analytics sharedInstance] trackScreen:@"DeactivateAccount"];
|
||||
@@ -126,6 +125,12 @@ static CGFloat const kTextFontSize = 15.0;
|
||||
[ThemeService.shared.theme applyStyleOnNavigationBar:self.navigationController.navigationBar];
|
||||
|
||||
self.activityIndicator.backgroundColor = ThemeService.shared.theme.overlayBackgroundColor;
|
||||
|
||||
self.view.backgroundColor = ThemeService.shared.theme.backgroundColor;
|
||||
|
||||
[self setupStringAttributes];
|
||||
|
||||
[self setupViews];
|
||||
}
|
||||
|
||||
- (void)setupStringAttributes
|
||||
|
||||
Reference in New Issue
Block a user