mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Don't reset EPG screen every time
This commit is contained in:
parent
535ed87dd2
commit
23ecc38ce7
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue