Avoid incremental theme-redraws

IMO this feels more impressive
This commit is contained in:
Michael Kirk 2018-08-09 17:30:58 -06:00
parent a465c25227
commit 71cb90b575
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ NSString *const ThemeKeyThemeEnabled = @"ThemeKeyThemeEnabled";
[UIUtil setupSignalAppearence];
[[NSNotificationCenter defaultCenter] postNotificationNameAsync:ThemeDidChangeNotification object:nil userInfo:nil];
[UIView performWithoutAnimation:^{
[[NSNotificationCenter defaultCenter] postNotificationName:ThemeDidChangeNotification object:nil userInfo:nil];
}];
}
+ (UIColor *)backgroundColor