mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
Improve challenge sharing
This commit is contained in:
parent
0bb02d49be
commit
c94054f512
2 changed files with 2 additions and 1 deletions
|
|
@ -942,4 +942,5 @@
|
|||
<string name="new_task">New Task</string>
|
||||
<string name="create_task">Create %s</string>
|
||||
<string name="details">Details</string>
|
||||
<string name="share_challenge_with">Share Challenge with</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ class ChallengeDetailFragment: BaseMainFragment() {
|
|||
putExtra(Intent.EXTRA_TEXT, "${BuildConfig.BASE_URL}/challenges/$challengeID")
|
||||
type = "text/plain"
|
||||
}
|
||||
startActivity(shareGuildIntent)
|
||||
startActivity(Intent.createChooser(shareGuildIntent, context?.getString(R.string.share_challenge_with)))
|
||||
}
|
||||
|
||||
return super.onOptionsItemSelected(item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue