mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-15 18:59:12 +03:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue