Fix crash in downloads

This commit is contained in:
Koitharu
2025-06-24 18:12:58 +03:00
parent 512069ca3e
commit 7404612a84

View File

@@ -67,7 +67,8 @@ class DownloadsViewModel @Inject constructor(
expanded,
) { list, exp ->
list.toDownloadsList(exp)
}.stateIn(viewModelScope + Dispatchers.Default, SharingStarted.Eagerly, null)
}.withErrorHandling()
.stateIn(viewModelScope + Dispatchers.Default, SharingStarted.Eagerly, null)
val onActionDone = MutableEventFlow<ReversibleAction>()