Skip to content

Commit

Permalink
Add support URL for usernames.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal authored and greyson-signal committed Feb 16, 2023
1 parent 1e10b82 commit 730065f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.thoughtcrime.securesms.databinding.UsernameEducationFragmentBinding
import org.thoughtcrime.securesms.dependencies.ApplicationDependencies
import org.thoughtcrime.securesms.keyvalue.SignalStore
import org.thoughtcrime.securesms.megaphone.Megaphones
import org.thoughtcrime.securesms.util.CommunicationActions
import org.thoughtcrime.securesms.util.navigation.safeNavigate

/**
Expand All @@ -25,7 +26,7 @@ class UsernameEducationFragment : Fragment(R.layout.username_education_fragment)
}

binding.usernameEducationLearnMore.setOnClickListener {
// TODO [alex] -- Launch "Learn More" page.
CommunicationActions.openBrowserLink(requireContext(), getString(R.string.username_support_url))
}

binding.continueButton.setOnClickListener {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<string name="sms_export_url" translatable="false">https://support.signal.org/hc/articles/360007321171</string>
<string name="signal_me_username_url" translatable="false">https://signal.me/#u/%1$s</string>
<string name="signal_me_username_url_no_scheme" translatable="false">signal.me/#u/%1$s</string>
<string name="username_support_url" translatable="false">https://support.signal.org/hc/articles/5389476324250</string>

<string name="yes">Yes</string>
<string name="no">No</string>
Expand Down

0 comments on commit 730065f

Please sign in to comment.