Red progress bar in settings

This commit is contained in:
dayanch96 2023-04-19 04:11:00 +03:00 committed by GitHub
parent 28284e5c71
commit 4342a7f78b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -189,15 +189,15 @@ extern NSBundle *uYouPlusBundle();
}
settingItemId:0],
// [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"RED_PROGRESS_BAR")
// titleDescription:LOC(@"RED_PROGRESS_BAR_DESC")
// accessibilityIdentifier:nil
// switchOn:IsEnabled(@"redProgressBar_enabled")
// switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
// [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"redProgressBar_enabled"];
// return YES;
// }
// settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"RED_PROGRESS_BAR")
titleDescription:LOC(@"RED_PROGRESS_BAR_DESC")
accessibilityIdentifier:nil
switchOn:IsEnabled(@"redProgressBar_enabled")
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"redProgressBar_enabled"];
return YES;
}
settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_HOVER_CARD")
titleDescription:LOC(@"HIDE_HOVER_CARD_DESC")