DeactivateAccountViewController theme, fixes #2993

Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
ismailgulek
2020-04-15 18:45:46 +03:00
parent dcbec2ad6f
commit ddc21bf612
3 changed files with 13 additions and 8 deletions
@@ -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