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
|
@Patch
|
||||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||||
@Name("open-links-directly")
|
@Name("open-links-directly")
|
||||||
@Description("Bypasses URL redirects and opens links directly inside YouTube app.")
|
@Description("Bypasses https://youtube.com/redirect URLs.")
|
||||||
@OpenLinksDirectlyCompatibility
|
@OpenLinksDirectlyCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class OpenLinksDirectlyPatch : BytecodePatch(
|
class OpenLinksDirectlyPatch : BytecodePatch(
|
||||||
|
@ -37,10 +37,10 @@ class OpenLinksDirectlyPatch : BytecodePatch(
|
||||||
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_uri_redirect",
|
"revanced_uri_redirect",
|
||||||
StringResource("revanced_uri_redirect_title", "Open YouTube links inside app"),
|
StringResource("revanced_uri_redirect_title", "Bypass URL redirects"),
|
||||||
true,
|
true,
|
||||||
StringResource("revanced_uri_redirect_summary_on", "Links opened inside YouTube ReVanced"),
|
StringResource("revanced_uri_redirect_summary_on", "Bypassing URL redirects"),
|
||||||
StringResource("revanced_uri_redirect_summary_off", "Links opened in web browser")
|
StringResource("revanced_uri_redirect_summary_off", "Following default redirect policy")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue