Explorar o código

properly theme the loading spinner

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger %!s(int64=3) %!d(string=hai) anos
pai
achega
7311971fe1

+ 2 - 0
app/src/main/java/com/nextcloud/talk/components/filebrowser/controllers/BrowserController.kt

@@ -268,6 +268,8 @@ abstract class BrowserController(args: Bundle) :
             adapter!!.addListener(this)
 
             binding.swipeRefreshList.setOnRefreshListener(this)
+            binding.swipeRefreshList.setColorSchemeResources(R.color.colorPrimary)
+            binding.swipeRefreshList.setProgressBackgroundColorSchemeResource(R.color.refresh_spinner_background)
         }
     }