ThemeService: Add convenient method to check if a dark theme is used.

This commit is contained in:
SBiOSoftWhare
2020-11-30 16:41:48 +01:00
parent 1ce667e578
commit 6838d6e52b
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -59,6 +59,10 @@ extern NSString *const kThemeServiceDidChangeThemeNotification;
*/
- (id<Theme>)themeWithThemeId:(NSString*)themeId;
/// Retrun YES if the current is Dark or Black
- (BOOL)isCurrentThemeDark;
#pragma mark - Riot Colors not yet themeable
@property (nonatomic, readonly) UIColor *riotColorCuriousBlue;