@@ -23,7 +23,7 @@ extern BOOL castConfirm();
23
23
extern BOOL ytMiniPlayer ();
24
24
extern BOOL hidePreviousAndNextButton ();
25
25
extern BOOL hidePaidPromotionCard ();
26
- extern BOOL fixGoogleSigin ();
26
+ extern BOOL fixGoogleSignIn ();
27
27
extern BOOL replacePreviousAndNextButton ();
28
28
29
29
// Settings
@@ -62,12 +62,12 @@ extern BOOL replacePreviousAndNextButton();
62
62
return YES ;
63
63
};
64
64
65
- YTSettingsSectionItem *fixGoogleSigin = [[%c (YTSettingsSectionItem) alloc ] initWithTitle: LOC (@" FIX_GOOGLE_SIGNIN" ) titleDescription: LOC (@" FIX_GOOGLE_SIGNIN_DESC" )];
66
- fixGoogleSigin .hasSwitch = YES ;
67
- fixGoogleSigin .switchVisible = YES ;
68
- fixGoogleSigin .on = [[NSUserDefaults standardUserDefaults ] boolForKey: @" fixGoogleSigin_enabled " ];
69
- fixGoogleSigin .switchBlock = ^BOOL (YTSettingsCell *cell, BOOL enabled) {
70
- [[NSUserDefaults standardUserDefaults ] setBool: enabled forKey: @" fixGoogleSigin_enabled " ];
65
+ YTSettingsSectionItem *fixGoogleSignIn = [[%c (YTSettingsSectionItem) alloc ] initWithTitle: LOC (@" FIX_GOOGLE_SIGNIN" ) titleDescription: LOC (@" FIX_GOOGLE_SIGNIN_DESC" )];
66
+ fixGoogleSignIn .hasSwitch = YES ;
67
+ fixGoogleSignIn .switchVisible = YES ;
68
+ fixGoogleSignIn .on = [[NSUserDefaults standardUserDefaults ] boolForKey: @" fixGoogleSignIn_enabled " ];
69
+ fixGoogleSignIn .switchBlock = ^BOOL (YTSettingsCell *cell, BOOL enabled) {
70
+ [[NSUserDefaults standardUserDefaults ] setBool: enabled forKey: @" fixGoogleSignIn_enabled " ];
71
71
return YES ;
72
72
};
73
73
@@ -188,7 +188,7 @@ extern BOOL replacePreviousAndNextButton();
188
188
return YES ;
189
189
};
190
190
191
- NSMutableArray <YTSettingsSectionItem *> *sectionItems = [NSMutableArray arrayWithArray: @[killApp, autoFull, castConfirm, ytMiniPlayer, hideAutoplaySwitch, hideCC, hideHUD, hidePaidPromotionCard, hidePreviousAndNextButton, hideHoverCard, bigYTMiniPlayer, oledDarkMode, oledKeyBoard, replacePreviousAndNextButton, reExplore]];
191
+ NSMutableArray <YTSettingsSectionItem *> *sectionItems = [NSMutableArray arrayWithArray: @[killApp, autoFull, castConfirm, ytMiniPlayer, fixGoogleSignIn, hideAutoplaySwitch, hideCC, hideHUD, hidePaidPromotionCard, hidePreviousAndNextButton, hideHoverCard, bigYTMiniPlayer, oledDarkMode, oledKeyBoard, replacePreviousAndNextButton, reExplore]];
192
192
[delegate setSectionItems: sectionItems forCategory: uYouPlusSection title: @" uYouPlus" titleDescription: nil headerHidden: NO ];
193
193
}
194
194
0 commit comments