feat(youtube/overlay-buttons): Hook download button preference is enabled only in the available version

This commit is contained in:
inotia00
2023-06-30 00:58:24 +09:00
parent b2331ad875
commit 30073ddd3b

View File

@ -10,6 +10,7 @@ import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.patch.ResourcePatch
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.patch.annotations.Patch
import app.revanced.patches.youtube.misc.spoofappversion.patch.SpoofAppVersionPatch
import app.revanced.patches.youtube.overlaybutton.alwaysrepeat.patch.AlwaysRepeatPatch
import app.revanced.patches.youtube.overlaybutton.downloadbuttonhook.patch.DownloadButtonHookPatch
import app.revanced.patches.youtube.utils.annotations.YouTubeCompatibility
@ -37,6 +38,7 @@ import org.w3c.dom.Element
PlayerControlsPatch::class,
SettingsPatch::class,
SharedResourceIdPatch::class,
SpoofAppVersionPatch::class,
VideoIdPatch::class
]
)