diff --git a/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings index c63618b..2f2d3c9 100644 --- a/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ar.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings index 4f6dabb..7fdf91d 100644 --- a/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/cz.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings index 536c3c1..2a33e1b 100755 --- a/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/de.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings index fe2365f..00c9259 100644 --- a/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/el.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings index 5545cee..a27e429 100644 --- a/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/en.lproj/Localizable.strings @@ -273,10 +273,11 @@ "ADBLOCK_WORKAROUND" = "AdBlock Workaround"; "ADBLOCK_WORKAROUND_DESC" = "Uses stronger adblocking code."; "FAKE_PREMIUM" = "Fake Premium"; -"FAKE_PREMIUM_DESC" = "Uses Premium logo and creates fake buttons in the You tab."; +"FAKE_PREMIUM_DESC" = "Uses Premium logo and creates fake buttons in the You tab. Will disable animated YouTube logo."; "FAKE_PREMIUM_WARNING" = "The *You* Tab doesn't exist in v%@, fake buttons will not be created.\nBut the *Fake Premium Logo* will still work."; "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; "CENTER_YOUTUBE_LOGO" = "Center YouTube Logo"; "CENTER_YOUTUBE_LOGO_DESC" = "Toggle this to reposition the official YouTube Logo to the Center. App restart is required."; "HIDE_YOUTUBE_LOGO" = "Hide YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings index 44fd595..5517982 100644 --- a/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/es.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings index da5caff..5588f18 100644 --- a/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/fr.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings index 6ed3a7f..b8fa86f 100644 --- a/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/he.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings index de656ce..54a9400 100644 --- a/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/hu.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings index 05b2a8f..db5bea0 100644 --- a/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/it.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings index bd62be4..ee967ff 100644 --- a/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ko.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings index 6a4dedf..1fbe493 100644 --- a/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/nl.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Jouw Premium-voordelen"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings index ea183e3..21ca21f 100644 --- a/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/pl.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings index b2a03cc..95403ba 100644 --- a/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/pt.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings index 2343dd3..edd038e 100644 --- a/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ro.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings index 0661d25..a91ab6a 100644 --- a/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/ru.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings index 6dca121..f26eaf0 100644 --- a/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/template.lproj/Localizable.strings @@ -292,6 +292,7 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap "FAKE_PREMIUM_WARNING" = "The *You* Tab doesn't exist in v%@, fake buttons will not be created.\nBut the *Fake Premium Logo* will still work."; "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; "CENTER_YOUTUBE_LOGO" = "Center YouTube Logo"; "CENTER_YOUTUBE_LOGO_DESC" = "Toggle this to reposition the official YouTube Logo to the Center. App restart is required."; "HIDE_YOUTUBE_LOGO" = "Hide YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/th.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/th.lproj/Localizable.strings index 9c5b70e..395a66c 100644 --- a/Localizations/uYouPlus.bundle/th.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/th.lproj/Localizable.strings @@ -149,3 +149,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings index 57a3696..b0931d9 100644 --- a/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/vi.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings index 698032e..017fa2a 100644 --- a/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/zh_cn.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings b/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings index f307dd6..5355be8 100644 --- a/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings +++ b/Localizations/uYouPlus.bundle/zh_tw.lproj/Localizable.strings @@ -150,3 +150,4 @@ "FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits"; "FAKE_DOWNLOADS" = "Downloads"; +"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo"; diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 887e1b2..e122fab 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -504,6 +504,16 @@ BOOL isAdString(NSString *description) { %end %end +// Disable animated YouTube Logo - @bhackel +%hook YTHeaderLogoController +- (void)configureYoodleNitrateController { + if (IS_ENABLED(@"disableAnimatedYouTubeLogo_enabled")) { + return; + } + %orig; +} +%end + // Shorts Quality Picker - @arichornlover %group gShortsQualityPicker %hook YTHotConfig diff --git a/Sources/uYouPlusSettings.xm b/Sources/uYouPlusSettings.xm index 2f12b97..f960dd0 100644 --- a/Sources/uYouPlusSettings.xm +++ b/Sources/uYouPlusSettings.xm @@ -1271,6 +1271,8 @@ extern NSBundle *uYouPlusBundle(); [alert addAction:okAction]; [settingsViewController presentViewController:alert animated:YES completion:nil]; } + // Enable the "Disable Animated YouTube Logo" setting + [[NSUserDefaults standardUserDefaults] setBool:enable forKey:@"disableAnimatedYouTubeLogo_enabled"]; // Refresh data and show the relaunch popup [[NSUserDefaults standardUserDefaults] setBool:enable forKey:@"youTabFakePremium_enabled"]; [settingsViewController reloadData]; @@ -1278,6 +1280,7 @@ extern NSBundle *uYouPlusBundle(); return YES; }); ); + SWITCH_ITEM(LOC(@"DISABLE_ANIMATED_YOUTUBE_LOGO"), nil, @"disableAnimatedYouTubeLogo_enabled"); // SWITCH_ITEM(LOC(@"CENTER_YOUTUBE_LOGO"), LOC(@"CENTER_YOUTUBE_LOGO_DESC"), @"centerYouTubeLogo_enabled"); SWITCH_ITEM(LOC(@"HIDE_YOUTUBE_LOGO"), LOC(@"HIDE_YOUTUBE_LOGO_DESC"), @"hideYouTubeLogo_enabled"); SWITCH_ITEM2(LOC(@"ENABLE_YT_STARTUP_ANIMATION"), LOC(@"ENABLE_YT_STARTUP_ANIMATION_DESC"), @"ytStartupAnimation_enabled");