mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Fix crash - workaround
This commit is contained in:
parent
b95dfa4473
commit
a55e0f1af4
@ -142,7 +142,7 @@ class CreateDirectRoomKnownUsersFragment @Inject constructor(
|
||||
if (data.isAdded) {
|
||||
addChipToGroup(data.user, chipGroup)
|
||||
} else {
|
||||
if (chipGroup.size > data.index) {
|
||||
if (data.index in 0..chipGroup.size) {
|
||||
chipGroup.removeViewAt(data.index)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user