// // 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 runs the live Apple Watch workout — two-way: drive from // either device and the other follows. .fullScreenCover(isPresented: Binding( get: { liveRun.presentable != nil }, set: { presenting in if !presenting { liveRun.mute() } } )) { if let frame = liveRun.presentable { LiveRunCoverView(frame: frame) { liveRun.mute() } } } } }