Use primary color for progress indicator

This commit is contained in:
Naveen 2023-07-09 20:39:57 +05:30
parent 8c98f7407a
commit 522d1455d5
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -95,12 +95,16 @@ class MainActivity : SimpleActivity() {
updateMenuColors()
updateTextColors(main_holder)
setupTabColors()
val properTextColor = getProperTextColor()
val properPrimaryColor = getProperPrimaryColor()
sleep_timer_holder.background = ColorDrawable(getProperBackgroundColor())
sleep_timer_stop.applyColorFilter(getProperTextColor())
sleep_timer_stop.applyColorFilter(properTextColor)
updateCurrentTrackBar()
loading_progress_bar.setIndicatorColor(properPrimaryColor)
loading_progress_bar.trackColor = properPrimaryColor.adjustAlpha(LOWER_ALPHA)
getAllFragments().forEach {
it?.setupColors(getProperTextColor(), getProperPrimaryColor())
it?.setupColors(properTextColor, properPrimaryColor)
}
if (storedExcludedFolders != config.excludedFolders.hashCode()) {