Clarify patch descriptions (#52)

* Clarify patch descriptions

* Update src/main/kotlin/app/revanced/patches/youtube/layout/playerbuttonbg/PlayerButtonBackgroundPatch.kt

Co-authored-by: KobeW50 <84587632+KobeW50@users.noreply.github.com>

* Update src/main/kotlin/app/revanced/patches/youtube/layout/dimming/ShortsDimmingPatch.kt

Co-authored-by: KobeW50 <84587632+KobeW50@users.noreply.github.com>

* Update src/main/kotlin/app/revanced/patches/youtube/layout/animated/AnimatedLikePatch.kt

Co-authored-by: KobeW50 <84587632+KobeW50@users.noreply.github.com>

* Update src/main/kotlin/app/revanced/patches/youtube/layout/animated/AnimatedButtonBackgroundPatch.kt

Co-authored-by: KobeW50 <84587632+KobeW50@users.noreply.github.com>

* Add the rest of "compile-time" patches

* Use consistent wording

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
This commit is contained in:
KobeW50 2024-05-27 04:06:34 -04:00 committed by GitHub
parent 69f98f9285
commit 2ce77b15da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("unused")
object DoubleTapOverlayBackgroundPatch : BaseResourcePatch(
name = "Hide double tap overlay filter",
description = "Hides the dark overlay when double-tapping to seek.",
description = "Removes, at compile time, the dark overlay that appears when double-tapping to seek.",
compatiblePackages = COMPATIBLE_PACKAGE,
use = false
) {

View File

@ -7,7 +7,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("DEPRECATION", "unused")
object OverlayFilterPatch : BaseResourcePatch(
name = "Hide overlay filter",
description = "Hides the dark overlay when player flyout menus are open.",
description = "Removes, at compile time, the dark overlay that appears when player flyout menus are open.",
dependencies = setOf(OverlayFilterBytecodePatch::class),
compatiblePackages = COMPATIBLE_PACKAGE,
use = false

View File

@ -8,7 +8,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("unused")
object PlayerOverlayFilterPatch : BaseResourcePatch(
name = "Hide player overlay filter",
description = "Hides the dark overlay when single-tapping the player.",
description = "Removes, at compile time, the dark overlay that appears when single-tapping in the player.",
compatiblePackages = COMPATIBLE_PACKAGE,
use = false
) {

View File

@ -10,7 +10,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("unused")
object AnimatedButtonBackgroundPatch : BaseResourcePatch(
name = "Hide animated button background",
description = "Hides the background of the pause and play animated buttons in the Shorts player at compile time.",
description = "Removes, at compile time, the background of the animated pause and play buttons in the Shorts player.",
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE,
use = false

View File

@ -11,7 +11,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("unused")
object AnimatedLikePatch : BaseResourcePatch(
name = "Hide double tap to like animations",
description = "Hide the like animations when double tap the screen in the Shorts player at compile time.",
description = "Removes, at compile time, the like animations that appear when double-tapping in the Shorts player.",
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE,
use = false

View File

@ -9,7 +9,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("unused")
object ShortsDimmingPatch : BaseResourcePatch(
name = "Hide shorts dimming",
description = "Hide the dimming effect on the top and bottom of Shorts video at compile time.",
description = "Removes, at compile time, the dimming effect at the top and bottom of Shorts videos.",
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE,
use = false

View File

@ -9,7 +9,7 @@ import app.revanced.util.patch.BaseResourcePatch
@Suppress("unused")
object DoubleTapOverlayBackgroundPatch : BaseResourcePatch(
name = "Hide double tap overlay filter",
description = "Hides the dark overlay when double-tapping to seek.",
description = "Removes, at compile time, the dark overlay that appears when double-tapping to seek.",
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE,
use = false

View File

@ -10,7 +10,7 @@ import org.w3c.dom.Element
@Suppress("Deprecation", "unused")
object ForcePlayerButtonBackgroundPatch : BaseResourcePatch(
name = "Force hide player buttons background",
description = "Hide the dark background surrounding the video player controls at compile time.",
description = "Removes, at compile time, the dark background surrounding the video player controls.",
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE,
use = false

View File

@ -37,7 +37,7 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethodParameter
object SpoofClientPatch : BaseBytecodePatch(
name = "Spoof client",
description = "Adds options to spoofs the client to allow video playback.",
description = "Adds options to spoof the client to allow video playback.",
dependencies = setOf(
PlayerTypeHookPatch::class,
PlayerResponseMethodHookPatch::class,