mirror of
				https://github.com/SimpleMobileTools/Simple-Clock.git
				synced 2025-06-05 22:19:17 +02:00 
			
		
		
		
	Merge pull request #180 from SimpleMobileTools/request_1
Clock - If a timer is inactive, show the default time at the top, not…
This commit is contained in:
		| @@ -42,7 +42,7 @@ class TimerFragment : Fragment() { | ||||
|             val config = requiredActivity.config | ||||
|             val textColor = config.textColor | ||||
|  | ||||
|             timer_time.text = 0.getFormattedDuration() | ||||
|             timer_time.text = config.timerSeconds.getFormattedDuration() | ||||
|  | ||||
|             requiredActivity.updateTextColors(timer_fragment) | ||||
|             timer_play_pause.background = resources.getColoredDrawableWithColor(R.drawable.circle_background_filled, context!!.getAdjustedPrimaryColor()) | ||||
| @@ -121,7 +121,7 @@ class TimerFragment : Fragment() { | ||||
|  | ||||
|     @Subscribe(threadMode = ThreadMode.MAIN) | ||||
|     fun onMessageEvent(state: TimerState.Idle) { | ||||
|         view.timer_time.text = 0.getFormattedDuration() | ||||
|         view.timer_time.text = requiredActivity.config.timerSeconds.getFormattedDuration() | ||||
|         updateViewStates(state) | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user