This commit is contained in:
Trey t
2023-07-12 16:50:11 -05:00
parent a1f2cf29fa
commit de2f75c0c6
4 changed files with 9 additions and 5 deletions

View File

@@ -49,8 +49,8 @@ struct ExternalWorkoutDetailView: View {
} else {
Image("icon")
.resizable()
.edgesIgnoringSafeArea(.all)
.scaledToFill()
.ignoresSafeArea()
}
}
.onChange(of: bridgeModule.currentExercise, perform: { newValue in

View File

@@ -47,12 +47,15 @@ struct LoginView: View {
.frame(maxWidth: .infinity)
Spacer()
Image("launch_icon")
Spacer()
}
.padding()
.background(Color(UIColor(red: 157/255, green: 138/255, blue: 255/255, alpha: 1)))
.background(
Image("icon")
.resizable()
.edgesIgnoringSafeArea(.all)
.scaledToFill()
)
}
func login() {

View File

@@ -62,6 +62,7 @@ struct Werkout_iosApp: App {
}
.tag(3)
}
.accentColor(Color("appColor"))
.onAppear{
UIApplication.shared.isIdleTimerDisabled = true
_ = try? AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback, mode: .default, options: .mixWithOthers)