Formatted the timer text for the RecordingView view in the Recording package target.

This commit is contained in:
2026-07-03 19:21:37 +02:00
parent cad0a570ac
commit 946fa76c63
3 changed files with 13 additions and 5 deletions
@@ -19,7 +19,7 @@ struct RecordingViewModelTests {
#expect(model.state == .notRecording)
#expect(model.secondsElapsed == 0)
#expect(model.timerText == "00:00")
#expect(model.textTimer == "00:00")
}
}
@@ -179,7 +179,7 @@ struct RecordingViewModelTests {
try await Task.sleep(for: .seconds(1.2))
#expect(model.secondsElapsed >= 1)
#expect(model.timerText == "00:01")
#expect(model.textTimer == "00:01")
model.state = .notRecording
model.updatedState(shouldRestartTimer: false)