feat(YouTube): Clarify patch descriptions (#3350)

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
KobeW50 2023-12-02 17:54:49 -05:00 committed by GitHub
parent 7d4d1bd97d
commit f2b9df4e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 14 additions and 16 deletions

View File

@ -17,7 +17,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Patch(
name = "Enable slide to seek",
description = "Enable slide to seek instead of playing at 2x speed.",
description = "Enable slide to seek instead of playing at 2x speed when pressing and holding in the video player.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -12,7 +12,7 @@ import java.nio.file.Files
@Patch(
name = "Custom branding",
description = "Changes the app icon and name to your choice (defaults to YouTube ReVanced and the ReVanced logo).",
description = "Changes the app name and icon to your choice (defaults to \"YouTube ReVanced\" and the ReVanced logo).",
compatiblePackages = [
CompatiblePackage("com.google.android.youtube")
],

View File

@ -13,7 +13,7 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch
@Patch(
name = "Hide video action buttons",
description = "Adds the options to hide action buttons under a video.",
description = "Adds options to hide action buttons under a video.",
dependencies = [
ResourceMappingPatch::class,
LithoFilterPatch::class

View File

@ -14,7 +14,7 @@ import com.android.tools.smali.dexlib2.Opcode
@Patch(
name = "Hide captions button",
description = "Hides the captions button on video player.",
description = "Hides the captions button in the video player.",
dependencies = [
IntegrationsPatch::class,
SettingsPatch::class

View File

@ -18,7 +18,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction3rc
@Patch(
name = "Hide player buttons",
description = "Adds the option to hide video player previous and next buttons.",
description = "Hides previous and next buttons in the video player.",
dependencies = [
IntegrationsPatch::class,
SettingsPatch::class

View File

@ -16,7 +16,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction21c
@Patch(
name = "Hide endscreen cards",
description = "Hides the suggested video cards at the end of a video in fullscreen.",
description = "Hides the suggested video cards at the end of videos.",
dependencies = [
IntegrationsPatch::class,
HideEndscreenCardsResourcePatch::class

View File

@ -18,7 +18,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Patch(
name = "Disable rolling number animations",
description = "Disables rolling number animations of video view count, upload time, and user likes",
description = "Disables rolling number animations of video view count, user likes, and upload time.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -14,7 +14,7 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch
@Patch(
name = "Disable player popup panels",
description = "Disables panels from appearing automatically when going into fullscreen (playlist or live chat).",
description = "Disables panels (such as live chat) from opening automatically.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -13,7 +13,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Patch(
name = "Custom player overlay opacity",
description = "Change the opacity of the player background, when player controls are visible.",
description = "Change the opacity of the player background when player controls are visible.",
dependencies = [CustomPlayerOverlayOpacityResourcePatch::class],
compatiblePackages = [
CompatiblePackage("com.google.android.youtube")

View File

@ -34,7 +34,7 @@ import com.android.tools.smali.dexlib2.iface.reference.StringReference
@Patch(
name = "SponsorBlock",
description = "Integrates SponsorBlock which allows skipping video segments such as sponsored content.",
description = "Integrates SponsorBlock, which can skip undesired video segments such as sponsored content.",
compatiblePackages = [
CompatiblePackage(
"com.google.android.youtube", [

View File

@ -18,7 +18,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Patch(
name = "Spoof app version",
description = "Tricks YouTube into thinking you are running an older version of the app. " +
"One of the side effects also includes restoring the old UI.",
"This can be used to restore old UI elements and features.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -22,7 +22,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
@Patch(
name = "Remove tracking query parameter",
description = "Remove the tracking query parameter from links.",
description = "Remove the tracking query parameter from links you share.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -26,7 +26,7 @@ import com.android.tools.smali.dexlib2.iface.reference.FieldReference
@Patch(
name = "Remember video quality",
description = "Adds the ability to remember the video quality you chose in the video quality flyout.",
description = "Adds the ability to remember the last video quality selected.",
dependencies = [IntegrationsPatch::class, VideoInformationPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -9,8 +9,7 @@ import app.revanced.patches.youtube.video.speed.remember.RememberPlaybackSpeedPa
@Patch(
name = "Playback speed",
description = "Adds custom playback speeds and ability " +
"to remember the playback speed you chose in the video playback speed flyout.",
description = "Adds custom playback speeds and ability to remember the last playback speed selected.",
dependencies = [CustomPlaybackSpeedPatch::class, RememberPlaybackSpeedPatch::class],
compatiblePackages = [
CompatiblePackage(

View File

@ -19,7 +19,6 @@ import app.revanced.patches.youtube.video.speed.remember.fingerprint.InitializeP
import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction
@Patch(
description = "Adds the ability to remember the playback speed you chose in the playback speed flyout.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class, VideoInformationPatch::class, CustomPlaybackSpeedPatch::class]
)
object RememberPlaybackSpeedPatch : BytecodePatch(