From eece8130cf6cfaa23508d285b24ce8e690ede6d8 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 6 Dec 2017 21:50:08 +0100 Subject: [PATCH] update fastscroller bubble colors on resume --- .../com/simplemobiletools/gallery/activities/MainActivity.kt | 2 ++ .../com/simplemobiletools/gallery/activities/MediaActivity.kt | 2 ++ 2 files changed, 4 insertions(+) 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 97d94af1e..05baef15e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -123,6 +123,8 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { getDirectoryAdapter()?.updateTextColor(config.textColor) } + directories_horizontal_fastscroller.updateBubbleColors() + directories_vertical_fastscroller.updateBubbleColors() invalidateOptionsMenu() directories_empty_text_label.setTextColor(config.textColor) directories_empty_text.setTextColor(config.primaryColor) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index e7aab694e..c432843bb 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -110,6 +110,8 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { getMediaAdapter()?.updateTextColor(config.textColor) } + media_horizontal_fastscroller.updateBubbleColors() + media_vertical_fastscroller.updateBubbleColors() tryloadGallery() invalidateOptionsMenu() media_empty_text_label.setTextColor(config.textColor)