mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
Add "Disable animated Youtube Logo"
This commit is contained in:
parent
0fab6d4d65
commit
9f168b4854
23 changed files with 35 additions and 1 deletions
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Jouw Premium-voordelen";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -149,3 +149,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -150,3 +150,4 @@
|
|||
|
||||
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
|
||||
"FAKE_DOWNLOADS" = "Downloads";
|
||||
"DISABLE_ANIMATED_YOUTUBE_LOGO" = "Disable Animated YouTube Logo";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue