mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-06 21:33:39 +01:00
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…
x
Reference in New Issue
Block a user