29 lines
597 B
Swift
29 lines
597 B
Swift
//
|
||
// ExerciseSetCard.swift
|
||
// Workouts
|
||
//
|
||
// Created by rzen on 7/23/25 at 4:26 PM.
|
||
//
|
||
// Copyright 2025 Rouslan Zenetl. All Rights Reserved.
|
||
//
|
||
|
||
import SwiftUI
|
||
|
||
struct ExerciseSetCard: View {
|
||
let set: Int
|
||
let elapsedSeconds: Int
|
||
|
||
var body: some View {
|
||
VStack(spacing: 20) {
|
||
Text("Set \(set)")
|
||
.font(.title)
|
||
|
||
Text(elapsedSeconds.secondsFormatted)
|
||
.font(.system(size: 48, weight: .semibold, design: .monospaced))
|
||
.foregroundStyle(Color.accentColor)
|
||
}
|
||
.padding()
|
||
}
|
||
}
|
||
|