enable for iPad only

This commit is contained in:
Nguyễn Đạt
2023-02-05 13:17:07 +07:00
committed by GitHub
parent 7b03afe376
commit 7139db47bc
+1 -1
View File
@@ -1365,7 +1365,7 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
if (IsEnabled(@"hideChipBar_enabled")) { if (IsEnabled(@"hideChipBar_enabled")) {
%init(gHideChipBar); %init(gHideChipBar);
} }
if (IsEnabled(@"iPhoneLayout_enabled")) { if (IsEnabled(@"iPhoneLayout_enabled") && (UIDevice.currentDevice.userInterfaceIdiom == UIUserInterfaceIdiomPad)) {
%init(giPhoneLayout); %init(giPhoneLayout);
} }