refactor: replace the share title chooser for the invite to be the invite button title

This commit is contained in:
Harris 2021-07-07 15:51:20 +10:00
parent abed19dd9c
commit 7d29bb5f3a
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() {
val invitation = "Hey, I've been using Session to chat with complete privacy and security. Come join me! Download it at https://getsession.org/. My Session ID is $hexEncodedPublicKey!"
intent.putExtra(Intent.EXTRA_TEXT, invitation)
intent.type = "text/plain"
val chooser = Intent.createChooser(intent, getString(R.string.share))
val chooser = Intent.createChooser(intent, getString(R.string.activity_settings_invite_button_title))
startActivity(chooser)
}