mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fixes after rebase
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ import kotlinx.coroutines.flow.runningFold
|
||||
|
||||
@SingleIn(RoomScope::class)
|
||||
@Inject
|
||||
class RoomMemberProfilesCache() {
|
||||
class RoomMemberProfilesCache {
|
||||
private val cache = MutableStateFlow(mapOf<UserId, RoomMember>())
|
||||
val updateFlow = cache.drop(1).runningFold(0) { acc, _ -> acc + 1 }
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import kotlinx.coroutines.flow.runningFold
|
||||
|
||||
@SingleIn(RoomScope::class)
|
||||
@Inject
|
||||
class RoomNamesCache() {
|
||||
class RoomNamesCache {
|
||||
private val cache = MutableStateFlow(mapOf<RoomIdOrAlias, String?>())
|
||||
val updateFlow = cache.drop(1).runningFold(0) { acc, _ -> acc + 1 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user