소스 검색

fix spinner by using enabled not refresh like on the original file

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 년 전
부모
커밋
dc705ccf40
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/src/main/java/com/nextcloud/talk/controllers/ContactsController.kt

+ 1 - 1
app/src/main/java/com/nextcloud/talk/controllers/ContactsController.kt

@@ -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