diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 65ee70a..c1f3b65 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -1406,6 +1406,15 @@ static BOOL findCell(ASNodeController *nodeController, NSArray *ide %end %end +// Auto-Hide Home Bar - @arichornlover +%group gAutoHideHomeBar +%hook UIViewController +- (BOOL)prefersHomeIndicatorAutoHidden { + return YES; +} +%end +%end + // YT startup animation %hook YTColdConfig - (BOOL)mainAppCoreClientIosEnableStartupAnimation { @@ -1680,6 +1689,9 @@ static BOOL findCell(ASNodeController *nodeController, NSArray *ide if (IS_ENABLED(@"hideHomeTab_enabled")) { %init(gHideHomeTab); } + if (IS_ENABLED(@"autoHideHomeBar_enabled")) { + %init(gAutoHideHomeBar); + } if (IS_ENABLED(@"hideDoubleTapToSeekOverlay_enabled")) { %init(gHideDoubleTapToSeekOverlay); }