mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-04-13 09:52:14 +02:00
properly update the Timer fragment button icon color too
This commit is contained in:
parent
29f43596e7
commit
d07ebb9c29
@ -155,7 +155,7 @@ class TimerFragment : Fragment() {
|
|||||||
val iconColor = if (requiredActivity.getAdjustedPrimaryColor() == Color.WHITE) {
|
val iconColor = if (requiredActivity.getAdjustedPrimaryColor() == Color.WHITE) {
|
||||||
Color.BLACK
|
Color.BLACK
|
||||||
} else {
|
} else {
|
||||||
requiredActivity.config.textColor
|
Color.WHITE
|
||||||
}
|
}
|
||||||
|
|
||||||
view.timer_play_pause.setImageDrawable(resources.getColoredDrawableWithColor(drawableId, iconColor))
|
view.timer_play_pause.setImageDrawable(resources.getColoredDrawableWithColor(drawableId, iconColor))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user