From beb9dcbd13ab2529c8261b2bcead50cf6e79d164 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sat, 25 Nov 2023 23:54:35 -0600 Subject: [PATCH] Resolve some errors with new changes --- Settings.xm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Settings.xm b/Settings.xm index dd562ac..f1d8d27 100644 --- a/Settings.xm +++ b/Settings.xm @@ -629,7 +629,7 @@ extern NSBundle *uYouPlusBundle(); [YTSettingsSectionItemClass checkmarkItemWithTitle:@"YouTube Logo (uYouPlusExtra)" titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { [[NSUserDefaults standardUserDefaults] setInteger:4 forKey:@"ytlogo"]; [settingsViewController reloadData]; - return YES + return YES; }] ]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"YouTube Logo Selector") pickerSectionTitle:nil rows:rows selectedItemIndex:youtubeLogo() parentResponder:[self parentResponder]]; @@ -1690,11 +1690,11 @@ extern NSBundle *uYouPlusBundle(); titleDescription:LOC(@"Press this to change and select your perferred YouTube Logo. App restart is required.") accessibilityIdentifier:nil switchOff:@"" - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { + switchBlock:^BOOL (YTSettingsCell *cell, BOOL disabled) { [[NSUserDefaults standardUserDefaults] setBool:disabled forKey:@""]; return YES; } - settingItemId:0], youtubeLogoSection], + settingItemId:0], youtubeLogoSection]; [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"ENABLE_YT_STARTUP_ANIMATION") titleDescription:LOC(@"ENABLE_YT_STARTUP_ANIMATION_DESC") @@ -1884,7 +1884,7 @@ extern NSBundle *uYouPlusBundle(); [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"enableVersionSpoofer_enabled"]; return YES; } - settingItemId:0], versionSpooferSection]; + settingItemId:0], versionSpooferSection]]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"MISCELLANEOUS") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]]; [settingsViewController pushViewController:picker]; return YES;