fix(YouTube - Enable tablet layout): Respect the original device layout

This commit is contained in:
oSumAtrIX
2023-11-23 00:59:32 +01:00
parent 20081ef27e
commit e88d6a8bba

View File

@@ -42,7 +42,7 @@ object EnableTabletLayoutPatch : BytecodePatch(
addInstructionsWithLabels(
0,
"""
invoke-static {}, Lapp/revanced/integrations/patches/EnableTabletLayoutPatch;->enableTabletLayout()Z
invoke-static { v0 }, Lapp/revanced/integrations/patches/EnableTabletLayoutPatch;->enableTabletLayout(Z)Z
move-result v0
if-nez v0, :is_large_form_factor
""",