mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-12 16:58:06 +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) {
|
||||
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
||||
PreferenceScreen(
|
||||
key = "revanced_spoof_signature_verification",
|
||||
title = StringResource(
|
||||
"revanced_spoof_signature_verification",
|
||||
StringResource(
|
||||
"revanced_spoof_signature_verification_title",
|
||||
"Spoof app signature"
|
||||
),
|
||||
preferences = listOf(
|
||||
listOf(
|
||||
SwitchPreference(
|
||||
"revanced_spoof_signature_verification_enabled",
|
||||
StringResource("revanced_spoof_signature_verification_enabled_title", "Spoof app signature"),
|
||||
@ -102,6 +102,10 @@ object SpoofSignaturePatch : BytecodePatch(
|
||||
+ "• 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