feat(YouTube - Client spoof): Add description to preference screen

This commit is contained in:
oSumAtrIX 2023-11-18 05:05:37 +01:00
parent ea6de498e3
commit 843a568544
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -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"
) )
) )
) )