File tree Expand file tree Collapse file tree 4 files changed +13
-15
lines changed Expand file tree Collapse file tree 4 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 88import SwiftUI
99import QuickPoseCore
1010
11+
12+ struct Exercise : Identifiable , Hashable {
13+ let id = UUID ( )
14+ let name : String
15+ let details : String
16+ let features : [ QuickPose . Feature ]
17+ // Add more properties as needed
18+ }
19+
1120let exercises = [
1221 Exercise (
1322 name: " Biceps Curls " ,
@@ -22,13 +31,6 @@ let exercises = [
2231
2332]
2433
25- struct Exercise : Identifiable , Hashable {
26- let id = UUID ( )
27- let name : String
28- let details : String
29- let features : [ QuickPose . Feature ]
30- // Add more properties as needed
31- }
3234
3335@main
3436struct FitCountApp : App {
Original file line number Diff line number Diff line change 22// InstructionsView.swift
33// FitCounter
44//
5- // Created by Денис Волхонский on 02.06.2023.
5+ // Created by QuickPose.ai on 02.06.2023.
66//
77
88import SwiftUI
99
1010struct InstructionsView : View {
1111 var body : some View {
1212 VStack {
13- Color . white
13+ Color ( UIColor . systemBackground )
1414 . ignoresSafeArea ( )
1515 . overlay (
1616 VStack ( spacing: 30 ) {
Original file line number Diff line number Diff line change @@ -39,12 +39,9 @@ func getCurrentVolume() -> Float {
3939struct VolumeChangeView : View {
4040 @State private var soundLevel : Float = getCurrentVolume ( )
4141
42- init ( ) {
43- }
44-
4542 var body : some View {
4643 VStack {
47- Color . white
44+ Color ( UIColor . systemBackground )
4845 . ignoresSafeArea ( )
4946 . overlay (
5047 VStack ( spacing: 30 ) {
Original file line number Diff line number Diff line change @@ -44,9 +44,8 @@ struct WorkoutResultsView: View {
4444 Spacer ( )
4545 }
4646 . navigationBarBackButtonHidden ( true )
47- // .navigationBarTitle("Results")
4847 . padding ( )
49- . background ( Color . white )
48+ . background ( Color ( UIColor . systemBackground ) )
5049 }
5150 }
5251}
You can’t perform that action at this time.
0 commit comments