mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
EventInsertLiveObserver: change of delete method (should be faster)
This commit is contained in:
parent
0412fabbd2
commit
e7804af2f7
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ internal class EventInsertLiveObserver @Inject constructor(@SessionDatabase real
|
|||
it.process(realm, domainEvent)
|
||||
}
|
||||
}
|
||||
realm.where(EventInsertEntity::class.java).findAll().deleteAllFromRealm()
|
||||
realm.delete(EventInsertEntity::class.java)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue