Skip to content

Commit 528f59f

Browse files
committed
Remove unecessary time.GetTimeRemaining call
1 parent d30c493 commit 528f59f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/displayapp/screens/Timer.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ void Timer::ToggleRunning() {
157157
std::chrono::milliseconds timerDuration = std::chrono::hours(hourCounter.GetValue()) + std::chrono::minutes(minuteCounter.GetValue()) +
158158
std::chrono::seconds(secondCounter.GetValue());
159159
timer.StartTimer(timerDuration);
160-
displaySeconds = std::chrono::duration_cast<std::chrono::seconds>(timer.GetTimeRemaining());
161160
Refresh();
162161
SetTimerRunning();
163162
}

0 commit comments

Comments
 (0)