Remove duplicate stuff

This commit is contained in:
arichornlover 2024-01-24 16:56:59 -06:00 committed by GitHub
parent d49c6185dc
commit e74d568675
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1259,15 +1259,6 @@ static NSString *accessGroupID() {
%init(gDisableLiveChatSection);
}
// Disable updates
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"automaticallyCheckForUpdates"];
// Don't show uYou's welcome screen cuz it's currently broken (fix #1147)
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"showedWelcomeVC"];
// Disable broken options of uYou
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"disableAgeRestriction"]; // Disable Age Restriction Disabled - Reason is the same as above.
// YTNoModernUI - @arichorn
BOOL ytNoModernUIEnabled = IS_ENABLED(@"ytNoModernUI_enabled");
if (ytNoModernUIEnabled) {