mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Declaring New OLED Dark Theme
This commit is contained in:
parent
ff96ee83a9
commit
b3bca9a200
1 changed files with 9 additions and 0 deletions
|
|
@ -13,6 +13,15 @@ static BOOL oldDarkTheme() {
|
|||
return ([[NSUserDefaults standardUserDefaults] integerForKey:@"appTheme"] == 2);
|
||||
}
|
||||
|
||||
YTUserDefaults *ytThemeSettings;
|
||||
|
||||
%hook YTUserDefaults
|
||||
- (long long)appThemeSetting {
|
||||
ytThemeSettings = self;
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Themes.xm - Theme Options
|
||||
// Old dark theme (gray)
|
||||
%group gOldDarkTheme
|
||||
|
|
|
|||
Loading…
Reference in a new issue