This commit is contained in:
Trey t
2023-07-12 16:40:24 -05:00
parent 17fc635ed1
commit a1f2cf29fa
10 changed files with 25 additions and 44 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 418 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 418 KiB

View File

@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "icon.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

Binary file not shown.

View File

@@ -1,23 +0,0 @@
{
"images" : [
{
"filename" : "icon 2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "icon 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "icon.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

View File

@@ -47,21 +47,10 @@ struct ExternalWorkoutDetailView: View {
}
}
} else {
GeometryReader { metrics in
VStack {
Spacer()
HStack {
Spacer()
Image(uiImage: Bundle.main.icon ?? UIImage())
.resizable()
.scaledToFit()
.frame(width: metrics.size.width/2, height: metrics.size.height/2)
Spacer()
}
Spacer()
}
}
Image("icon")
.resizable()
.scaledToFill()
.ignoresSafeArea()
}
}
.onChange(of: bridgeModule.currentExercise, perform: { newValue in
@@ -216,7 +205,7 @@ struct ExternalWorkoutDetailView_Previews: PreviewProvider {
static var previews: some View {
ExternalWorkoutDetailView().environmentObject({ () -> BridgeModule in
let envObj = BridgeModule.shared
envObj.currentWorkout = PreviewData.workout()
envObj.currentWorkout = nil //PreviewData.workout()
bridge.currentExercise = PreviewData.workout().exercisesSortedByCreated_at.first!
return envObj
}() )