Skip to content

Commit

Permalink
Update uYouPlusSettings.xm
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored Apr 5, 2024
1 parent 9a1349f commit 43fadd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/uYouPlusSettings.xm
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ YTSettingsSectionItem *lowContrastMode = [YTSettingsSectionItemClass
return NO;
}
}
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"lowContrastMode_enabled"];
if (IS_ENABLED(@"fixLowContrastMode_enabled")) {
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"lowContrastMode_enabled"];
}
[settingsViewController reloadData];
SHOW_RELAUNCH_YT_SNACKBAR;
return YES;
Expand Down

0 comments on commit 43fadd8

Please sign in to comment.