mirror of
https://github.com/bbara04/Purefin.git
synced 2026-03-31 17:10:08 +02:00
Removed online/offline toggle button from tv ui and also from the references
This commit is contained in:
@@ -51,10 +51,4 @@ class UserSessionRepository @Inject constructor(
|
||||
}
|
||||
|
||||
val isOfflineMode: Flow<Boolean> = session.map { it.isOfflineMode }.distinctUntilChanged()
|
||||
|
||||
suspend fun setOfflineMode(isOffline: Boolean) {
|
||||
userSessionDataStore.updateData {
|
||||
it.copy(isOfflineMode = isOffline)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user