music: fix broken android auto search
This commit is contained in:
parent
fd597ea16a
commit
e4310cfe17
1 changed files with 1 additions and 1 deletions
|
@ -123,9 +123,9 @@ constructor(
|
|||
}
|
||||
|
||||
private fun <T> Result<T>.dispatchAsync(body: suspend () -> T?) {
|
||||
detach()
|
||||
dispatchScope.launch {
|
||||
try {
|
||||
detach()
|
||||
val result = body()
|
||||
if (result == null) {
|
||||
logW("Result is null")
|
||||
|
|
Loading…
Reference in a new issue