Remove uYou feature, move comments

This commit is contained in:
Bryce Hackel 2024-04-05 01:13:11 -07:00
parent 2b84cde27f
commit 37d01021b0
No known key found for this signature in database
GPG key ID: F031960F08455E88
2 changed files with 3 additions and 8 deletions

View file

@ -558,9 +558,9 @@ BOOL isAd(YTIElementRenderer *self) {
}
%end
// YTStockVolumeHUD - https://github.com/lilacvibes/YTStockVolumeHUD
%group gStockVolumeHUD
// Use stock iOS volume HUD
// Use YTColdConfig's method instead of YTStockVolumeHUD.xm, see https://x.com/PoomSmart/status/1756904290445332653
%group gStockVolumeHUD
%hook YTColdConfig
- (BOOL)iosUseSystemVolumeControlInFullscreen {
return IS_ENABLED(@"stockVolumeHUD_enabled") ? YES : %orig;
@ -814,11 +814,6 @@ BOOL isAd(YTIElementRenderer *self) {
}
%end
%hook YTShortsStartupCoordinator
- (id)evaluateResumeToShorts {
return IS_ENABLED(@"disableResumeToShorts_enabled") ? nil : %orig;
}
%end
// Hide Shorts Cells - @PoomSmart & @iCrazeiOS
%hook YTIElementRenderer

View file

@ -240,7 +240,7 @@ extern NSBundle *uYouPlusBundle();
SWITCH_ITEM(LOC(@"HIDE_SUPER_THANKS"), LOC(@"HIDE_SUPER_THANKS_DESC"), @"hideBuySuperThanks_enabled");
SWITCH_ITEM(LOC(@"HIDE_SUBCRIPTIONS"), LOC(@"HIDE_SUBCRIPTIONS_DESC"), @"hideSubcriptions_enabled");
SWITCH_ITEM(LOC(@"DISABLE_RESUME_TO_SHORTS"), LOC(@"DISABLE_RESUME_TO_SHORTS_DESC"), @"disableResumeToShorts_enabled");
// SWITCH_ITEM(LOC(@"DISABLE_RESUME_TO_SHORTS"), LOC(@"DISABLE_RESUME_TO_SHORTS_DESC"), @"disableResumeToShorts_enabled");
# pragma mark - Video player button options
SECTION_HEADER(LOC(@"Video Player Button Options"));