reskin: Kill KVO on theme setting

This commit is contained in:
manuroe
2019-01-14 10:53:43 +01:00
parent 650265e680
commit 368bd101a6
4 changed files with 27 additions and 34 deletions
+3 -2
View File
@@ -41,12 +41,13 @@ extern NSString *const kThemeServiceDidChangeThemeNotification;
+ (instancetype)shared;
/**
The id of the theme corresponding to the current app settings.
The id of the theme being used.
*/
@property (nonatomic, readonly) NSString *themeId;
@property (nonatomic, nullable) NSString *themeId;
/**
The current theme.
Default value is the Default theme.
*/
@property (nonatomic, readonly) id<Theme> theme;