From 7311971fe1cbfa35f05312f59cf12112884cdaba Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 2 Sep 2021 18:54:31 +0200 Subject: [PATCH] properly theme the loading spinner Signed-off-by: Andy Scherzinger --- .../components/filebrowser/controllers/BrowserController.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/nextcloud/talk/components/filebrowser/controllers/BrowserController.kt b/app/src/main/java/com/nextcloud/talk/components/filebrowser/controllers/BrowserController.kt index c68e88649..ef7a57ac1 100644 --- a/app/src/main/java/com/nextcloud/talk/components/filebrowser/controllers/BrowserController.kt +++ b/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) } }