Fix crash on invalid saved searches
This commit is contained in:
parent
a0fa323645
commit
dee1f69d34
@ -501,7 +501,9 @@ open class BrowseSourceScreenModel(
|
||||
}
|
||||
|
||||
if (search.filterList == null && state.filters.isNotEmpty()) {
|
||||
context.toast(R.string.save_search_invalid)
|
||||
withUIContext {
|
||||
context.toast(R.string.save_search_invalid)
|
||||
}
|
||||
return@launchIO
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user