update fastscroller handle color if it changed

This commit is contained in:
tibbi 2017-03-29 19:05:54 +02:00
parent a2f2e57b85
commit b231227813
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ android {
} }
dependencies { 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.theartofdev.edmodo:android-image-cropper:2.3.1'
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
compile 'com.google.code.gson:gson:2.8.0' compile 'com.google.code.gson:gson:2.8.0'

View file

@ -198,7 +198,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
private fun checkIfColorChanged() { private fun checkIfColorChanged() {
if (DirectoryAdapter.foregroundColor != config.primaryColor) { if (DirectoryAdapter.foregroundColor != config.primaryColor) {
DirectoryAdapter.foregroundColor = config.primaryColor DirectoryAdapter.foregroundColor = config.primaryColor
setupAdapter() directories_fastscroller.updateHandleColor()
} }
} }