1
0
mirror of https://github.com/vector-im/element-android.git synced 2025-07-28 08:42:00 +03:00

PR remarks

This commit is contained in:
ariskotsomitopoulos
2022-02-01 12:13:10 +02:00
parent 15fe9edfbd
commit fcc095a239
7 changed files with 37 additions and 37 deletions

View File

@ -109,9 +109,9 @@ class FlowRoom(private val room: Room) {
}
fun liveLocalUnreadThreadList(): Flow<List<ThreadRootEvent>> {
return room.getNumberOfLocalThreadNotificationsLive().asFlow()
return room.getMarkedThreadNotificationsLive().asFlow()
.startWith(room.coroutineDispatchers.io) {
room.getNumberOfLocalThreadNotifications()
room.getMarkedThreadNotifications()
}
}
}