Disable sync status tracking
That one is only used for analytics that SchildiChat doesn't use. Furthermore, this causes UI lag somehow. Change-Id: Ic5c4cfea5dd617c9e172f5b3dd217ef9d9b9d4bb
This commit is contained in:
parent
34ff27307e
commit
693cff349f
@ -139,12 +139,13 @@ class AppStateHandler @Inject constructor(
|
||||
} else {
|
||||
setCurrentGroup(uiStateRepository.getSelectedGroup(session.sessionId), session)
|
||||
}
|
||||
observeSyncStatus(session)
|
||||
//observeSyncStatus(session)
|
||||
}
|
||||
}
|
||||
.launchIn(coroutineScope)
|
||||
}
|
||||
|
||||
/*
|
||||
private fun observeSyncStatus(session: Session) {
|
||||
session.getSyncStatusLive()
|
||||
.asFlow()
|
||||
@ -155,6 +156,7 @@ class AppStateHandler @Inject constructor(
|
||||
analyticsTracker.updateUserProperties(UserProperties(numSpaces = spacesNumber))
|
||||
}.launchIn(session.coroutineScope)
|
||||
}
|
||||
*/
|
||||
|
||||
fun safeActiveSpaceId(): String? {
|
||||
return (selectedSpaceDataSourceSc.currentValue?.orNull()?.first as? RoomGroupingMethod.BySpace)?.spaceSummary?.roomId
|
||||
|
Loading…
x
Reference in New Issue
Block a user