Fix mentions with share to single group story flow.
This commit is contained in:
parent
a81a4cdb53
commit
9851bc300e
1 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,14 @@ sealed class MediaSelectionDestination {
|
|||
}
|
||||
}
|
||||
|
||||
override fun getRecipientSearchKey(): ContactSearchKey.RecipientSearchKey? {
|
||||
return if (recipientSearchKeys.size == 1) {
|
||||
recipientSearchKeys[0]
|
||||
} else {
|
||||
super.getRecipientSearchKey()
|
||||
}
|
||||
}
|
||||
|
||||
override fun getRecipientSearchKeyList(): List<ContactSearchKey.RecipientSearchKey> = recipientSearchKeys
|
||||
|
||||
override fun toBundle(): Bundle {
|
||||
|
|
Loading…
Add table
Reference in a new issue