mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-30 17:42:52 +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"),
|
||||
listOf(
|
||||
SwitchPreference(
|
||||
"revanced_copy_video_url",
|
||||
"revanced_copy_video_url_enabled",
|
||||
StringResource("revanced_copy_video_url_enabled_title", "Show copy video URL button"),
|
||||
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_off", "Button is not shown")
|
||||
),
|
||||
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"),
|
||||
true,
|
||||
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"),
|
||||
listOf(
|
||||
SwitchPreference(
|
||||
"revanced_downloads",
|
||||
"revanced_downloads_enabled",
|
||||
StringResource("revanced_downloads_enabled_title", "Show download button"),
|
||||
true,
|
||||
StringResource("revanced_downloads_enabled_summary_on", "Download button is shown"),
|
||||
|
Loading…
Reference in New Issue
Block a user