disable swipe refreshing when search is open
This commit is contained in:
parent
9f4e27f920
commit
fad3697bc6
|
@ -410,6 +410,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
fun searchOpened() {
|
||||
isSearchOpen = true
|
||||
lastSearchedText = ""
|
||||
mView.items_swipe_refresh.isEnabled = false
|
||||
}
|
||||
|
||||
fun searchClosed() {
|
||||
|
@ -419,6 +420,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
}
|
||||
skipItemUpdating = false
|
||||
lastSearchedText = ""
|
||||
mView.items_swipe_refresh.isEnabled = true
|
||||
|
||||
mView.apply {
|
||||
items_list.beVisible()
|
||||
|
|
Loading…
Reference in New Issue