Change after PR review

This commit is contained in:
ganfra 2022-06-13 11:11:26 +02:00
parent 3f55f279d7
commit c74a56517b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ internal class EventInsertLiveObserver @Inject constructor(
observerScope.launch {
lock.withLock {
if (!results.isLoaded || results.isEmpty()) {
return@launch
return@withLock
}
val idsToDeleteAfterProcess = ArrayList<String>()
val filteredEvents = ArrayList<EventInsertEntity>(results.size)