mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-27 19:19:25 +03:00
Fix crash on Android 6
This commit is contained in:
parent
cd45248f40
commit
626395304d
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ internal class TimelineChunk(private val chunkEntity: ChunkEntity,
|
|||
for (range in modifications) {
|
||||
for (modificationIndex in (range.startIndex until range.startIndex + range.length)) {
|
||||
val updatedEntity = results[modificationIndex] ?: continue
|
||||
val displayIndex = builtEventsIndexes.getOrDefault(updatedEntity.eventId, null)
|
||||
val displayIndex = builtEventsIndexes[updatedEntity.eventId]
|
||||
if (displayIndex == null) {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue