From c7e24c47e2d1a0fef6c3b7a0d905770a80aa406e Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Sun, 23 Oct 2022 01:01:48 +0700 Subject: [PATCH] add some A/B flags --- uYouPlus.xm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index 3e725ab..ef00a87 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -265,12 +265,13 @@ BOOL dontEatMyContent() { - (BOOL)isPromptForLocalNetworkPermissionsEnabled { return NO; } %end -// YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html -%hook YTColdConfig -- (BOOL)respectDeviceCaptionSetting { return NO; } -- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; } -// Fix uYou's label glitching - qnblackcat/uYouPlus#552 -- (BOOL)mainAppCoreClientIosTransientVisualGlitchInPivotBarFix { return NO; } +// A/B flags +%hook YTColdConfig +- (BOOL)respectDeviceCaptionSetting { return NO; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html +- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; } // Swipe right to dismiss the right panel in fullscreen mode +- (BOOL)mainAppCoreClientIosTransientVisualGlitchInPivotBarFix { return NO; } // Fix uYou's label glitching - qnblackcat/uYouPlus#552 +- (BOOL)uiSystemsClientGlobalConfigUseDarkerPaletteBgColorForNative { return NO; } // Fix OLED Darkmode not working sometimes - qnblackcat/uYouPlus#547 +- (BOOL)enableSwipeToRemoveInPlaylistWatchEp { return YES; } // Enable swipe right to remove video in Playlist. %end // NOYTPremium - https://github.com/PoomSmart/NoYTPremium/