From 9086f42b6ea0435b3ae6102cc0d43edd3f71d4b6 Mon Sep 17 00:00:00 2001 From: zx Date: Fri, 12 Jul 2024 16:54:26 -0400 Subject: [PATCH] fix: redefinition of -userInterfaceIdiom --- YTLitePlus.xm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index f372a56..a0f0c24 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -631,10 +631,7 @@ BOOL isTabSelected = NO; // Miscellaneous %group giPadLayout // https://github.com/LillieH001/YouTube-Reborn %hook UIDevice -- (long long)userInterfaceIdiom { - return YES; -} -- (NSInteger)userInterfaceIdiom { +- (UIUserInterfaceIdiom)userInterfaceIdiom { return UIUserInterfaceIdiomPad; } %end