mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-31 19:20:34 +00:00
Fixes #1632
This commit is contained in:
parent
3fce5a2a5c
commit
97bf00f400
1 changed files with 7 additions and 2 deletions
|
|
@ -90,8 +90,13 @@ class GroupInviteActivity : BaseActivity() {
|
|||
private fun createResultIntent(): Intent {
|
||||
val intent = Intent()
|
||||
if (fragments.size == 0) return intent
|
||||
intent.putExtra(EMAILS_KEY, fragments[1].values)
|
||||
intent.putExtra(USER_IDS_KEY, fragments[0].values)
|
||||
for (fragment in fragments) {
|
||||
if (fragment.isEmailInvite) {
|
||||
intent.putExtra(EMAILS_KEY, fragment.values)
|
||||
} else {
|
||||
intent.putExtra(USER_IDS_KEY, fragment.values)
|
||||
}
|
||||
}
|
||||
return intent
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue