mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
refactor: replace the share title chooser for the invite to be the invite button title
This commit is contained in:
parent
abed19dd9c
commit
7d29bb5f3a
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user