isReadMarkerMoreRecent(): use helper to properly compare chunks
This commit is contained in:
parent
6c4e404ba1
commit
0564942b0c
|
@ -94,7 +94,7 @@ internal fun isReadMarkerMoreRecent(realmConfiguration: RealmConfiguration,
|
|||
val eventToCheckIndex = eventToCheck?.displayIndex ?: Int.MAX_VALUE
|
||||
eventToCheckIndex <= readMarkerIndex
|
||||
} else {
|
||||
eventToCheckChunk?.isLastForward == false && readMarkerChunk?.isLastForward == true
|
||||
eventToCheckChunk != null && readMarkerChunk?.isMoreRecentThan(eventToCheckChunk) == true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue