properly update the Timer fragment button icon color too

This commit is contained in:
tibbi 2020-03-12 20:17:10 +01:00
parent 29f43596e7
commit d07ebb9c29

View File

@ -155,7 +155,7 @@ class TimerFragment : Fragment() {
val iconColor = if (requiredActivity.getAdjustedPrimaryColor() == Color.WHITE) {
Color.BLACK
} else {
requiredActivity.config.textColor
Color.WHITE
}
view.timer_play_pause.setImageDrawable(resources.getColoredDrawableWithColor(drawableId, iconColor))