Fix incorrect read state causing stale notifications and tweak scroll to bottom behavior.

This commit is contained in:
Cody Henthorne
2023-08-04 08:31:03 -04:00
committed by GitHub
parent 78bdee61ef
commit c3700cf6d9
5 changed files with 58 additions and 30 deletions

View File

@@ -22,6 +22,12 @@ object RxDatabaseObserver {
}
}
fun conversation(threadId: Long): Flowable<Unit> {
return databaseFlowable { listener ->
ApplicationDependencies.getDatabaseObserver().registerVerboseConversationObserver(threadId, listener)
}
}
@Suppress("RedundantUnitExpression")
private fun notificationProfilesFlowable(): Flowable<Unit> {
return Flowable.combineLatest(