From 8c555c1cb1cc7ff49ff88e7c1c9ae50ae9e9fe4c Mon Sep 17 00:00:00 2001 From: inotia00 Date: Mon, 27 Feb 2023 22:43:58 +0900 Subject: [PATCH] add missing patch description --- .../music/layout/castbutton/patch/HideCastButtonPatch.kt | 2 +- .../youtube/ads/general/resource/patch/GeneralAdsPatch.kt | 2 +- .../general/personalinformation/patch/HideEmailAddressPatch.kt | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/music/layout/castbutton/patch/HideCastButtonPatch.kt b/src/main/kotlin/app/revanced/patches/music/layout/castbutton/patch/HideCastButtonPatch.kt index 3542c796b..6a9ba34ec 100644 --- a/src/main/kotlin/app/revanced/patches/music/layout/castbutton/patch/HideCastButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/music/layout/castbutton/patch/HideCastButtonPatch.kt @@ -20,7 +20,7 @@ import app.revanced.util.integrations.Constants.MUSIC_SETTINGS_PATH @Patch @Name("hide-music-cast-button") -@Description("Hides the cast button in the video player and header") +@Description("Hides the cast button in the video player and header.") @DependsOn([MusicSettingsPatch::class]) @YouTubeMusicCompatibility @Version("0.0.1") diff --git a/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt index 81ab3e0d0..edbb3626c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt @@ -20,7 +20,7 @@ import org.w3c.dom.Element @Patch @Name("hide-general-ads") -@Description("Hooks the method which parses the bytes into a ComponentContext to filter components.") +@Description("Removes general ads.") @DependsOn( [ GeneralAdsBytecodePatch::class, diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/general/personalinformation/patch/HideEmailAddressPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/general/personalinformation/patch/HideEmailAddressPatch.kt index f28835cbe..7eb84a2c9 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/general/personalinformation/patch/HideEmailAddressPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/general/personalinformation/patch/HideEmailAddressPatch.kt @@ -1,6 +1,7 @@ package app.revanced.patches.youtube.layout.general.personalinformation.patch import app.revanced.extensions.toErrorResult +import app.revanced.patcher.annotation.Description import app.revanced.patcher.annotation.Name import app.revanced.patcher.annotation.Version import app.revanced.patcher.data.BytecodeContext @@ -19,6 +20,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction @Patch @Name("hide-email-address") +@Description("Hides the email address in the account switcher.") @DependsOn([SettingsPatch::class]) @YouTubeCompatibility @Version("0.0.1")