music: fix broken android auto search

This commit is contained in:
Alexander Capehart 2024-08-30 10:19:31 -06:00
parent fd597ea16a
commit e4310cfe17
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -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")