Formatted the timer text for the RecordingView view in the Recording package target.
This commit is contained in:
@@ -63,7 +63,7 @@ extension RecordingView {
|
||||
}
|
||||
|
||||
/// The elapsed recording time, formatted as `mm:ss` for the timer label.
|
||||
var timerText: String {
|
||||
var textTimer: String {
|
||||
Duration
|
||||
.seconds(secondsElapsed)
|
||||
.formatted(.time(pattern: .minuteSecond(padMinuteToLength: 2)))
|
||||
|
||||
Reference in New Issue
Block a user