Fix refresh on open search

This commit is contained in:
bemusementpark 2024-07-04 14:58:18 +09:30
parent a4ee521ee0
commit 81f9bf9412

View File

@ -51,7 +51,9 @@ class GlobalSearchViewModel @Inject constructor(
} }
fun refresh() { fun refresh() {
refreshes.tryEmit(Unit) viewModelScope.launch {
refreshes.emit(Unit)
}
} }
init { init {