Change after PR review
This commit is contained in:
parent
3f55f279d7
commit
c74a56517b
|
@ -48,7 +48,7 @@ internal class EventInsertLiveObserver @Inject constructor(
|
||||||
observerScope.launch {
|
observerScope.launch {
|
||||||
lock.withLock {
|
lock.withLock {
|
||||||
if (!results.isLoaded || results.isEmpty()) {
|
if (!results.isLoaded || results.isEmpty()) {
|
||||||
return@launch
|
return@withLock
|
||||||
}
|
}
|
||||||
val idsToDeleteAfterProcess = ArrayList<String>()
|
val idsToDeleteAfterProcess = ArrayList<String>()
|
||||||
val filteredEvents = ArrayList<EventInsertEntity>(results.size)
|
val filteredEvents = ArrayList<EventInsertEntity>(results.size)
|
||||||
|
|
Loading…
Reference in New Issue