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 da81a19d74
commit 1eb12cc40a
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

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
""",