mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 14:02:08 +00:00
Added New Option Auto-Hide Home Bar
This commit is contained in:
parent
802b1382b1
commit
2de2918e52
1 changed files with 12 additions and 0 deletions
|
|
@ -1406,6 +1406,15 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *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 <NSString *> *ide
|
|||
if (IS_ENABLED(@"hideHomeTab_enabled")) {
|
||||
%init(gHideHomeTab);
|
||||
}
|
||||
if (IS_ENABLED(@"autoHideHomeBar_enabled")) {
|
||||
%init(gAutoHideHomeBar);
|
||||
}
|
||||
if (IS_ENABLED(@"hideDoubleTapToSeekOverlay_enabled")) {
|
||||
%init(gHideDoubleTapToSeekOverlay);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue