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 { } 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

View File

@@ -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() {

View File

@@ -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)