mirror of
https://github.com/FossifyOrg/Clock.git
synced 2026-04-24 00:07:25 -04:00
properly update the Timer fragment button icon color too
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user