From 7139db47bc770804e5ce079fb5d195cb4dcc1fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20=C4=90=E1=BA=A1t?= <52943116+qnblackcat@users.noreply.github.com> Date: Sun, 5 Feb 2023 13:17:07 +0700 Subject: [PATCH] enable for iPad only --- uYouPlus.xm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index 2354b25..fb4afe2 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -1365,7 +1365,7 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha: if (IsEnabled(@"hideChipBar_enabled")) { %init(gHideChipBar); } - if (IsEnabled(@"iPhoneLayout_enabled")) { + if (IsEnabled(@"iPhoneLayout_enabled") && (UIDevice.currentDevice.userInterfaceIdiom == UIUserInterfaceIdiomPad)) { %init(giPhoneLayout); }