mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 07:09:22 +01:00
fix(youtube): resolve duplicate preference keys (#1550)
This commit is contained in:
parent
76f32a4d49
commit
aafdb891b2
@ -31,14 +31,14 @@ class CopyVideoUrlResourcePatch : ResourcePatch {
|
|||||||
StringResource("revanced_copy_video_url_title", "Copy video URL settings"),
|
StringResource("revanced_copy_video_url_title", "Copy video URL settings"),
|
||||||
listOf(
|
listOf(
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_copy_video_url",
|
"revanced_copy_video_url_enabled",
|
||||||
StringResource("revanced_copy_video_url_enabled_title", "Show copy video URL button"),
|
StringResource("revanced_copy_video_url_enabled_title", "Show copy video URL button"),
|
||||||
true,
|
true,
|
||||||
StringResource("revanced_copy_video_url_enabled_summary_on", "Button is shown, click to copy video URL without timestamp"),
|
StringResource("revanced_copy_video_url_enabled_summary_on", "Button is shown, click to copy video URL without timestamp"),
|
||||||
StringResource("revanced_copy_video_url_enabled_summary_off", "Button is not shown")
|
StringResource("revanced_copy_video_url_enabled_summary_off", "Button is not shown")
|
||||||
),
|
),
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_copy_video_url_timestamp",
|
"revanced_copy_video_url_timestamp_enabled",
|
||||||
StringResource("revanced_copy_video_url_timestamp_enabled_title", "Show copy timestamp URL button"),
|
StringResource("revanced_copy_video_url_timestamp_enabled_title", "Show copy timestamp URL button"),
|
||||||
true,
|
true,
|
||||||
StringResource("revanced_copy_video_url_timestamp_enabled_summary_on", "Button is shown, click to copy video URL with timestamp"),
|
StringResource("revanced_copy_video_url_timestamp_enabled_summary_on", "Button is shown, click to copy video URL with timestamp"),
|
||||||
|
@ -30,7 +30,7 @@ class DownloadsResourcePatch : ResourcePatch {
|
|||||||
StringResource("revanced_downloads_title", "Download settings"),
|
StringResource("revanced_downloads_title", "Download settings"),
|
||||||
listOf(
|
listOf(
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_downloads",
|
"revanced_downloads_enabled",
|
||||||
StringResource("revanced_downloads_enabled_title", "Show download button"),
|
StringResource("revanced_downloads_enabled_title", "Show download button"),
|
||||||
true,
|
true,
|
||||||
StringResource("revanced_downloads_enabled_summary_on", "Download button is shown"),
|
StringResource("revanced_downloads_enabled_summary_on", "Download button is shown"),
|
||||||
|
Loading…
Reference in New Issue
Block a user