// // ContentView.swift // Workouts // // Copyright 2025 Rouslan Zenetl. All Rights Reserved. // import SwiftUI struct ContentView: View { @Environment(LiveRunState.self) private var liveRun var body: some View { WorkoutLogsView() // Prop the phone up and it mirrors a live workout running on the Apple Watch. .fullScreenCover(isPresented: Binding( get: { liveRun.presentable != nil }, set: { presenting in if !presenting { liveRun.mute() } } )) { if let frame = liveRun.presentable { LiveProgressMirrorView(progress: frame) { liveRun.mute() } } } } }