mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-20 08:17:17 +02:00
fix: captions are disabled in Shorts when hide-auto-captions
patch is enabled
This commit is contained in:
parent
3b827a24e1
commit
07e02f5c4e
@ -18,13 +18,19 @@ import app.revanced.patches.shared.annotation.YouTubeCompatibility
|
||||
import app.revanced.patches.shared.fingerprints.SubtitleButtonControllerFingerprint
|
||||
import app.revanced.patches.shared.fingerprints.SubtitleTrackFingerprint
|
||||
import app.revanced.patches.youtube.layout.general.autocaptions.fingerprints.StartVideoInformerFingerprint
|
||||
import app.revanced.patches.youtube.misc.playertype.patch.PlayerTypeHookPatch
|
||||
import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch
|
||||
import app.revanced.util.integrations.Constants.GENERAL_LAYOUT
|
||||
|
||||
@Patch
|
||||
@Name("hide-auto-captions")
|
||||
@Description("Hide captions from being automatically enabled.")
|
||||
@DependsOn([SettingsPatch::class])
|
||||
@DependsOn(
|
||||
[
|
||||
PlayerTypeHookPatch::class,
|
||||
SettingsPatch::class
|
||||
]
|
||||
)
|
||||
@YouTubeCompatibility
|
||||
@Version("0.0.1")
|
||||
class AutoCaptionsPatch : BytecodePatch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user