Avoid incremental theme-redraws
IMO this feels more impressive
This commit is contained in:
parent
a465c25227
commit
71cb90b575
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue