diff --git a/app/src/main/java/com/todoroo/astrid/timers/TimerControlSet.kt b/app/src/main/java/com/todoroo/astrid/timers/TimerControlSet.kt index d741f4d34..3e186f70a 100644 --- a/app/src/main/java/com/todoroo/astrid/timers/TimerControlSet.kt +++ b/app/src/main/java/com/todoroo/astrid/timers/TimerControlSet.kt @@ -114,9 +114,10 @@ class TimerControlSet : TaskEditControlComposeFragment() { stringResource(id = R.string.TEA_timer_est, DateUtils.formatElapsedTime(it.toLong())) } val elapsed = - viewModel.elapsedSeconds.collectAsStateLifecycleAware().value.takeIf { it > 0 } + (newElapsed + viewModel.elapsedSeconds.collectAsStateLifecycleAware().value) + .takeIf { it > 0 } ?.let { - stringResource(id = R.string.TEA_timer_elap, DateUtils.formatElapsedTime(it + newElapsed)) + stringResource(id = R.string.TEA_timer_elap, DateUtils.formatElapsedTime(it)) } val text = when { estimated != null && elapsed != null -> "$estimated, $elapsed"