[UI] Set pull-to-refresh colors.

This commit is contained in:
Kuba Szczodrzyński 2019-11-15 21:16:58 +01:00
parent 965f5e73d9
commit 9a20511935

View File

@ -376,6 +376,11 @@ class MainActivity : AppCompatActivity() {
b.swipeRefreshLayout.isEnabled = true
b.swipeRefreshLayout.setOnRefreshListener { this.syncCurrentFeature() }
b.swipeRefreshLayout.setColorSchemeResources(
R.color.md_blue_500,
R.color.md_amber_500,
R.color.md_green_500
)
isStoragePermissionGranted()