mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-04-03 05:11:09 +02:00
properly color the initial Timer button icon
This commit is contained in:
parent
d07ebb9c29
commit
1ea4c030ee
@ -46,6 +46,7 @@ class TimerFragment : Fragment() {
|
||||
|
||||
requiredActivity.updateTextColors(timer_fragment)
|
||||
timer_play_pause.background = resources.getColoredDrawableWithColor(R.drawable.circle_background_filled, context!!.getAdjustedPrimaryColor())
|
||||
timer_play_pause.applyColorFilter(if (context!!.getAdjustedPrimaryColor() == Color.WHITE) Color.BLACK else Color.WHITE)
|
||||
timer_reset.applyColorFilter(textColor)
|
||||
|
||||
timer_initial_time.text = config.timerSeconds.getFormattedDuration()
|
||||
|
Loading…
x
Reference in New Issue
Block a user