From 767a0fbe81849893c44a4c7d6901933de40156a0 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:45:43 -0500 Subject: [PATCH] Update `iPad Layout` Option Other hooks/classes of iPad Layout may get removed soon. --- YTLitePlus.xm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 042fb53..f372a56 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -633,7 +633,10 @@ BOOL isTabSelected = NO; %hook UIDevice - (long long)userInterfaceIdiom { return YES; -} +} +- (NSInteger)userInterfaceIdiom { + return UIUserInterfaceIdiomPad; +} %end %hook UIStatusBarStyleAttributes - (long long)idiom {