ThemeService: Compute theme property at init.

This commit is contained in:
SBiOSoftWhare
2020-09-07 09:56:44 +02:00
parent 0df477357a
commit f0d03cb576
+2
View File
@@ -115,6 +115,8 @@ NSString *const kThemeServiceDidChangeThemeNotification = @"kThemeServiceDidChan
// Observe "Invert Colours" settings changes (available since iOS 11)
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(accessibilityInvertColorsStatusDidChange) name:UIAccessibilityInvertColorsStatusDidChangeNotification object:nil];
}
[self reEvaluateTheme];
}
return self;
}