From b2312278134cc5d26a1024156662feba971d4688 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 29 Mar 2017 19:05:54 +0200 Subject: [PATCH] update fastscroller handle color if it changed --- app/build.gradle | 2 +- .../com/simplemobiletools/gallery/activities/MainActivity.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 64c8dce08..f52d3f0c2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.14.6' + compile 'com.simplemobiletools:commons:2.14.7' compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' compile 'com.google.code.gson:gson:2.8.0' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index e3462309e..0e0b3ad2d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -198,7 +198,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { private fun checkIfColorChanged() { if (DirectoryAdapter.foregroundColor != config.primaryColor) { DirectoryAdapter.foregroundColor = config.primaryColor - setupAdapter() + directories_fastscroller.updateHandleColor() } }