Skip to content

Commit

Permalink
fix(youtube/open-links-directly): use better titles and correct descr…
Browse files Browse the repository at this point in the history
…iptions (#1488)
  • Loading branch information
johnconner122 committed Jan 15, 2023
1 parent d3c9e03 commit 2874bbe
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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")
)
)

Expand Down

0 comments on commit 2874bbe

Please sign in to comment.