WIP
This commit is contained in:
@@ -49,8 +49,8 @@ struct ExternalWorkoutDetailView: View {
|
|||||||
} else {
|
} else {
|
||||||
Image("icon")
|
Image("icon")
|
||||||
.resizable()
|
.resizable()
|
||||||
|
.edgesIgnoringSafeArea(.all)
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.ignoresSafeArea()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onChange(of: bridgeModule.currentExercise, perform: { newValue in
|
.onChange(of: bridgeModule.currentExercise, perform: { newValue in
|
||||||
|
|||||||
@@ -47,12 +47,15 @@ struct LoginView: View {
|
|||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
Image("launch_icon")
|
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
.background(Color(UIColor(red: 157/255, green: 138/255, blue: 255/255, alpha: 1)))
|
.background(
|
||||||
|
Image("icon")
|
||||||
|
.resizable()
|
||||||
|
.edgesIgnoringSafeArea(.all)
|
||||||
|
.scaledToFill()
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func login() {
|
func login() {
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ struct Werkout_iosApp: App {
|
|||||||
}
|
}
|
||||||
.tag(3)
|
.tag(3)
|
||||||
}
|
}
|
||||||
|
.accentColor(Color("appColor"))
|
||||||
.onAppear{
|
.onAppear{
|
||||||
UIApplication.shared.isIdleTimerDisabled = true
|
UIApplication.shared.isIdleTimerDisabled = true
|
||||||
_ = try? AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback, mode: .default, options: .mixWithOthers)
|
_ = try? AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback, mode: .default, options: .mixWithOthers)
|
||||||
|
|||||||
Reference in New Issue
Block a user