Don't reset EPG screen every time

This commit is contained in:
Damontecres 2025-10-21 18:32:21 -04:00
parent 535ed87dd2
commit 23ecc38ce7
No known key found for this signature in database

View file

@ -61,7 +61,7 @@ class LiveTvViewModel
val fetchedItem = MutableLiveData<BaseItem?>(null) val fetchedItem = MutableLiveData<BaseItem?>(null)
fun init() { fun init() {
loading.value = LoadingState.Loading // loading.value = LoadingState.Loading
viewModelScope.launch(Dispatchers.IO + LoadingExceptionHandler(loading, "Could not fetch channels")) { viewModelScope.launch(Dispatchers.IO + LoadingExceptionHandler(loading, "Could not fetch channels")) {
val channelData by api.liveTvApi.getLiveTvChannels( val channelData by api.liveTvApi.getLiveTvChannels(
GetLiveTvChannelsRequest( GetLiveTvChannelsRequest(