mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 01:01:56 +01:00
fix(youtube/open-links-directly): use better titles and correct descriptions (#1488)
This commit is contained in:
parent
d3c9e03ff2
commit
2874bbef15
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue