adding a crashfix
This commit is contained in:
parent
6d2b939abe
commit
da98a541b1
|
@ -267,6 +267,10 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
fun searchQueryChanged(text: String) {
|
||||
val searchText = text.trim()
|
||||
Thread {
|
||||
if (context == null) {
|
||||
return@Thread
|
||||
}
|
||||
|
||||
when {
|
||||
searchText.isEmpty() -> activity?.runOnUiThread {
|
||||
mView.apply {
|
||||
|
|
Loading…
Reference in New Issue