fix: change patch name

This commit is contained in:
inotia00 2023-10-27 11:14:09 +09:00
parent fb09b7fe36
commit 855ab583c5
9 changed files with 16 additions and 16 deletions

View File

@ -7,7 +7,7 @@ import app.revanced.patcher.patch.annotation.Patch
import app.revanced.util.resources.IconHelper.customIconMusic
@Patch(
name = "Custom branding icon Revancify blue",
name = "Custom branding icon Revancify Blue",
description = "Changes the YouTube Music launcher icon to Revancify Blue.",
compatiblePackages = [
CompatiblePackage(

View File

@ -7,7 +7,7 @@ import app.revanced.patcher.patch.annotation.Patch
import app.revanced.util.resources.IconHelper.customIconMusic
@Patch(
name = "Custom branding icon Revancify red",
name = "Custom branding icon Revancify Red",
description = "Changes the YouTube Music launcher icon to Revancify Red.",
compatiblePackages = [
CompatiblePackage(

View File

@ -8,7 +8,7 @@ import app.revanced.patcher.patch.annotation.Patch
import app.revanced.patcher.patch.options.PatchOption.PatchExtensions.stringPatchOption
@Patch(
name = "Custom branding Music name",
name = "Custom branding name YouTube Music",
description = "Rename the YouTube Music app to the name specified in options.json.",
dependencies = [RemoveElementsPatch::class],
compatiblePackages = [

View File

@ -10,8 +10,8 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch
import app.revanced.util.integrations.Constants.COMPONENTS_PATH
@Patch(
name = "Hide quick actions",
description = "Adds the options to hide quick actions components in the fullscreen.",
name = "Quick actions components",
description = "Adds options to customize quick action components in fullscreen.",
dependencies = [
LithoFilterPatch::class,
QuickActionsHookPatch::class,
@ -51,11 +51,11 @@ object QuickActionsPatch : BytecodePatch() {
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: BOTTOM_PLAYER_SETTINGS",
"SETTINGS: HIDE_QUICK_ACTIONS"
"SETTINGS: QUICK_ACTIONS_COMPONENTS"
)
)
SettingsPatch.updatePatchStatus("Hide quick actions")
SettingsPatch.updatePatchStatus("Quick actions components")
}
}

View File

@ -9,7 +9,7 @@ import app.revanced.util.resources.IconHelper.customIcon
import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon
@Patch(
name = "Custom branding icon Revancify blue",
name = "Custom branding icon Revancify Blue",
description = "Changes the YouTube launcher icon to Revancify Blue.",
dependencies = [SettingsPatch::class],
compatiblePackages = [

View File

@ -9,7 +9,7 @@ import app.revanced.util.resources.IconHelper.customIcon
import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon
@Patch(
name = "Custom branding icon Revancify red",
name = "Custom branding icon Revancify Red",
description = "Changes the YouTube launcher icon to Revancify Red.",
dependencies = [SettingsPatch::class],
compatiblePackages = [

View File

@ -10,7 +10,7 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch
import app.revanced.util.resources.ResourceHelper.updatePatchStatusLabel
@Patch(
name = "Custom branding YouTube name",
name = "Custom branding name YouTube",
description = "Rename the YouTube app to the name specified in options.json.",
dependencies = [
RemoveElementsPatch::class,

View File

@ -14,7 +14,7 @@ import app.revanced.patches.youtube.video.hdr.fingerprints.HdrCapabilitiesFinger
import app.revanced.util.integrations.Constants.VIDEO_PATH
@Patch(
name = "Disable hdr video",
name = "Disable HDR video",
description = "Disable HDR video.",
dependencies = [SettingsPatch::class],
compatiblePackages = [
@ -74,7 +74,7 @@ object DisableHdrVideoPatch : BytecodePatch(
)
)
SettingsPatch.updatePatchStatus("Disable hdr video")
SettingsPatch.updatePatchStatus("Disable HDR video")
}
}

View File

@ -129,7 +129,7 @@
<SwitchPreference android:title="@string/revanced_hide_fullscreen_panels_title" android:key="revanced_hide_fullscreen_panels" android:defaultValue="false" android:summaryOn="@string/revanced_hide_fullscreen_panels_summary_on" android:summaryOff="@string/revanced_hide_fullscreen_panels_summary_off" />
<SwitchPreference android:title="@string/revanced_show_fullscreen_title_title" android:key="revanced_show_fullscreen_title" android:defaultValue="true" android:summary="@string/revanced_show_fullscreen_title_summary" />SETTINGS: HIDE_FULLSCREEN_PANELS -->
<!-- SETTINGS: HIDE_QUICK_ACTIONS
<!-- SETTINGS: QUICK_ACTIONS_COMPONENTS
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_quick_actions_title" />
<SwitchPreference android:title="@string/revanced_hide_quick_actions_title" android:key="revanced_hide_quick_actions" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_quick_actions_comment_title" android:key="revanced_hide_quick_actions_comment" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_comment_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_comment_summary_off" />
@ -141,7 +141,7 @@
<SwitchPreference android:title="@string/revanced_hide_quick_actions_open_playlist_title" android:key="revanced_hide_quick_actions_open_playlist" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_open_playlist_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_open_playlist_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_quick_actions_related_videos_title" android:key="revanced_hide_quick_actions_related_videos" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_related_videos_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_related_videos_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_quick_actions_save_to_playlist_title" android:key="revanced_hide_quick_actions_save_to_playlist" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_save_to_playlist_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_save_to_playlist_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_quick_actions_share_title" android:key="revanced_hide_quick_actions_share" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_share_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_share_summary_off" />SETTINGS: HIDE_QUICK_ACTIONS -->
<SwitchPreference android:title="@string/revanced_hide_quick_actions_share_title" android:key="revanced_hide_quick_actions_share" android:defaultValue="false" android:summaryOn="@string/revanced_hide_quick_actions_share_summary_on" android:summaryOff="@string/revanced_hide_quick_actions_share_summary_off" />SETTINGS: QUICK_ACTIONS_COMPONENTS -->
<!-- SETTINGS: ENABLE_COMPACT_CONTROLS_OVERLAY
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_experimental_flag" />
@ -348,7 +348,7 @@
<Preference android:title="Hide autoplay preview" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Hide end screen overlay" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Hide fullscreen panels" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Hide quick actions" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Quick actions components" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_general" />
<Preference android:title="Disable auto captions" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
@ -435,7 +435,7 @@
<Preference android:title="Custom playback speed" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Default playback speed" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Default video quality" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Disable hdr video" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Disable HDR video" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_others" />
<Preference android:title="Custom double tap length" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>