feat(YouTube/Shorts outline button): include by default

This commit is contained in:
inotia00 2024-05-09 01:52:36 +09:00
parent 1ea1843d9b
commit 7ea172790d
2 changed files with 2 additions and 3 deletions

View File

@ -12,8 +12,7 @@ object ShortsOutlineButtonPatch : BaseResourcePatch(
name = "Shorts outline button", name = "Shorts outline button",
description = "Apply the outline icon to the action button of the Shorts player.", description = "Apply the outline icon to the action button of the Shorts player.",
dependencies = setOf(SettingsPatch::class), dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE, compatiblePackages = COMPATIBLE_PACKAGE
use = false
) { ) {
override fun execute(context: ResourceContext) { override fun execute(context: ResourceContext) {

View File

@ -194,8 +194,8 @@ object VideoPlaybackPatch : BaseBytecodePatch(
} ?: throw PatchException("Failed to find onItemClick method") } ?: throw PatchException("Failed to find onItemClick method")
} }
VideoInformationPatch.hook("$INTEGRATIONS_VIDEO_QUALITY_CLASS_DESCRIPTOR->newVideoStarted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZ)V")
VideoInformationPatch.hookBackgroundPlay("$INTEGRATIONS_RELOAD_VIDEO_CLASS_DESCRIPTOR->newVideoStarted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZ)V") VideoInformationPatch.hookBackgroundPlay("$INTEGRATIONS_RELOAD_VIDEO_CLASS_DESCRIPTOR->newVideoStarted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZ)V")
VideoInformationPatch.hook("$INTEGRATIONS_VIDEO_QUALITY_CLASS_DESCRIPTOR->newVideoStarted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZ)V")
// endregion // endregion