service: fix search endlessly loading
This commit is contained in:
parent
9b09572382
commit
1e0c7cebcf
1 changed files with 2 additions and 1 deletions
|
@ -479,7 +479,8 @@ class AuxioService :
|
|||
): ListenableFuture<LibraryResult<Void>> =
|
||||
waitScope
|
||||
.async {
|
||||
musicMediaItemBrowser.prepareSearch(query)
|
||||
val count = musicMediaItemBrowser.prepareSearch(query)
|
||||
session.notifySearchResultChanged(browser, query, count, params)
|
||||
LibraryResult.ofVoid()
|
||||
}
|
||||
.asListenableFuture()
|
||||
|
|
Loading…
Reference in a new issue