mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-12 22:47:45 +01:00
feat(YouTube - Client spoof): Add description to preference screen
This commit is contained in:
parent
ea6de498e3
commit
843a568544
@ -48,12 +48,12 @@ object SpoofSignaturePatch : BytecodePatch(
|
|||||||
override fun execute(context: BytecodeContext) {
|
override fun execute(context: BytecodeContext) {
|
||||||
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
||||||
PreferenceScreen(
|
PreferenceScreen(
|
||||||
key = "revanced_spoof_signature_verification",
|
"revanced_spoof_signature_verification",
|
||||||
title = StringResource(
|
StringResource(
|
||||||
"revanced_spoof_signature_verification_title",
|
"revanced_spoof_signature_verification_title",
|
||||||
"Spoof app signature"
|
"Spoof app signature"
|
||||||
),
|
),
|
||||||
preferences = listOf(
|
listOf(
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_spoof_signature_verification_enabled",
|
"revanced_spoof_signature_verification_enabled",
|
||||||
StringResource("revanced_spoof_signature_verification_enabled_title", "Spoof app signature"),
|
StringResource("revanced_spoof_signature_verification_enabled_title", "Spoof app signature"),
|
||||||
@ -102,6 +102,10 @@ object SpoofSignaturePatch : BytecodePatch(
|
|||||||
+ "• Seekbar thumbnails are hidden"
|
+ "• Seekbar thumbnails are hidden"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
),
|
||||||
|
StringResource(
|
||||||
|
"revanced_spoof_signature_verification_summary",
|
||||||
|
"Spoof the app signature to prevent playback issues"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user