mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Fix crash - workaround
This commit is contained in:
parent
b95dfa4473
commit
a55e0f1af4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue