mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 10:39:22 +01:00
fix(youtube/open-links-directly): use better titles and correct descriptions (#1488)
This commit is contained in:
parent
d3c9e03ff2
commit
2874bbef15
@ -25,7 +25,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction35c
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("open-links-directly")
|
||||
@Description("Bypasses URL redirects and opens links directly inside YouTube app.")
|
||||
@Description("Bypasses https://youtube.com/redirect URLs.")
|
||||
@OpenLinksDirectlyCompatibility
|
||||
@Version("0.0.1")
|
||||
class OpenLinksDirectlyPatch : BytecodePatch(
|
||||
@ -37,10 +37,10 @@ class OpenLinksDirectlyPatch : BytecodePatch(
|
||||
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
||||
SwitchPreference(
|
||||
"revanced_uri_redirect",
|
||||
StringResource("revanced_uri_redirect_title", "Open YouTube links inside app"),
|
||||
StringResource("revanced_uri_redirect_title", "Bypass URL redirects"),
|
||||
true,
|
||||
StringResource("revanced_uri_redirect_summary_on", "Links opened inside YouTube ReVanced"),
|
||||
StringResource("revanced_uri_redirect_summary_off", "Links opened in web browser")
|
||||
StringResource("revanced_uri_redirect_summary_on", "Bypassing URL redirects"),
|
||||
StringResource("revanced_uri_redirect_summary_off", "Following default redirect policy")
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user