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

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