mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-18 18:09:23 +01:00
fix(YouTube - Enable tablet layout): Respect the original device layout
This commit is contained in:
parent
1ebf8e04a6
commit
9e3e747ce6
@ -3,7 +3,9 @@ package app.revanced.integrations.patches;
|
|||||||
import app.revanced.integrations.settings.SettingsEnum;
|
import app.revanced.integrations.settings.SettingsEnum;
|
||||||
|
|
||||||
public final class EnableTabletLayoutPatch {
|
public final class EnableTabletLayoutPatch {
|
||||||
public static boolean enableTabletLayout() {
|
public static boolean enableTabletLayout(final boolean isTablet) {
|
||||||
return SettingsEnum.TABLET_LAYOUT.getBoolean();
|
if (SettingsEnum.TABLET_LAYOUT.getBoolean()) return true;
|
||||||
|
|
||||||
|
return isTablet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user