Fix crash on Android 6
This commit is contained in:
parent
cd45248f40
commit
626395304d
@ -447,7 +447,7 @@ internal class TimelineChunk(private val chunkEntity: ChunkEntity,
|
|||||||
for (range in modifications) {
|
for (range in modifications) {
|
||||||
for (modificationIndex in (range.startIndex until range.startIndex + range.length)) {
|
for (modificationIndex in (range.startIndex until range.startIndex + range.length)) {
|
||||||
val updatedEntity = results[modificationIndex] ?: continue
|
val updatedEntity = results[modificationIndex] ?: continue
|
||||||
val displayIndex = builtEventsIndexes.getOrDefault(updatedEntity.eventId, null)
|
val displayIndex = builtEventsIndexes[updatedEntity.eventId]
|
||||||
if (displayIndex == null) {
|
if (displayIndex == null) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user