Removed online/offline toggle button from tv ui and also from the references

This commit is contained in:
2026-03-28 11:38:22 +01:00
parent 775d579c2f
commit 0d7a3d99dd
4 changed files with 1 additions and 33 deletions

View File

@@ -61,12 +61,6 @@ class AppViewModel @Inject constructor(
}
}.stateIn(viewModelScope, SharingStarted.WhileSubscribed(5_000), emptyList())
val isOfflineMode = userSessionRepository.isOfflineMode.stateIn(
scope = viewModelScope,
started = SharingStarted.Eagerly,
initialValue = false
)
val continueWatching = combine(
appContentRepository.continueWatching,
appContentRepository.movies,
@@ -232,10 +226,4 @@ class AppViewModel @Inject constructor(
}
}
fun toggleOfflineMode() {
viewModelScope.launch {
userSessionRepository.setOfflineMode(!isOfflineMode.value)
}
}
}