diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/player/suggestactions/patch/SuggestedActionsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/player/suggestactions/patch/SuggestedActionsPatch.kt index 976493f88..d2fd2ee4e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/player/suggestactions/patch/SuggestedActionsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/player/suggestactions/patch/SuggestedActionsPatch.kt @@ -14,7 +14,10 @@ import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.annotations.Patch import app.revanced.patches.shared.annotation.YouTubeCompatibility import app.revanced.patches.shared.patch.mapping.ResourceMappingPatch +import app.revanced.patches.youtube.misc.litho.patch.LithoFilterPatch +import app.revanced.patches.youtube.misc.playertype.patch.PlayerTypeHookPatch import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch +import app.revanced.util.bytecode.BytecodeHelper.updatePatchStatus import org.jf.dexlib2.Opcode import org.jf.dexlib2.iface.instruction.formats.Instruction22c import org.jf.dexlib2.iface.instruction.formats.Instruction31i @@ -24,6 +27,8 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction31i @Description("Hide the suggested actions bar inside the player.") @DependsOn( [ + LithoFilterPatch::class, + PlayerTypeHookPatch::class, ResourceMappingPatch::class, SettingsPatch::class ] @@ -72,6 +77,8 @@ class SuggestedActionsPatch : BytecodePatch() { val errorIndex: Int = patchSuccessArray.indexOf(false) if (errorIndex == -1) { + context.updatePatchStatus("SuggestedActions") + /* * Add settings */