mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
fix spinner by using enabled not refresh like on the original file
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
25528aded0
commit
dc705ccf40
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ class ContactsController(args: Bundle) :
|
|||
}
|
||||
|
||||
try {
|
||||
binding.controllerGenericRv.swipeRefreshLayout.isRefreshing = !adapter!!.hasFilter()
|
||||
binding.controllerGenericRv.swipeRefreshLayout.isEnabled = !adapter!!.hasFilter()
|
||||
} catch (npe: NullPointerException) {
|
||||
// view binding can be null
|
||||
// since this is called asynchronously and UI might have been destroyed in the meantime
|
||||
|
|
Loading…
Reference in a new issue