update fastscroller handle color if it changed
This commit is contained in:
parent
a2f2e57b85
commit
b231227813
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue