try to fix watch stuff

This commit is contained in:
Trey t
2024-07-01 21:22:12 -05:00
parent cee84d7776
commit f1781744ca
14 changed files with 187 additions and 157 deletions

View File

@@ -9,6 +9,7 @@ import SwiftUI
struct WatchControlView: View {
@StateObject var vm = WatchMainViewModel.shared
@StateObject var watchWorkout = WatchWorkout.shared
var body: some View {
HStack {
@@ -44,7 +45,7 @@ struct WatchControlView: View {
Button(action: {
vm.pauseWorkout()
}, label: {
if vm.isPaused {
if watchWorkout.isPaused {
Image(systemName: "play")
.font(.title)
.frame(maxWidth: .infinity, maxHeight: .infinity)