Mercurial > public > geoquiz
diff GeoQuiz/SettingsModalView.swift @ 7:d945e52b0704
implement dynamic map
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Tue, 04 Oct 2022 18:54:24 +0200 |
parents | f31a61462e7a |
children | 3540c7efc216 |
line wrap: on
line diff
--- a/GeoQuiz/SettingsModalView.swift Thu Sep 29 12:00:17 2022 +0200 +++ b/GeoQuiz/SettingsModalView.swift Tue Oct 04 18:54:24 2022 +0200 @@ -10,16 +10,31 @@ struct SettingsModalView: View { @Environment(\.dismiss) var dismiss - // CHANGE THIS IN PRODUCTION - @State private var testHapticsIsOn = true - @State private var testGameEffectIsOn = true - // CHANGE THIS IN PRODUCTION - var body: some View { NavigationView { Form { - Toggle("Haptics is on", isOn: $testHapticsIsOn) - Toggle("Game effect is on", isOn: $testGameEffectIsOn) + Section { + // Difficulty + } header: { + Text("Game") + } footer: { + Text("The harder the difficulty the less lives you get.") + } + + Section { + // Toggle to disable haptics + // Toggle to disable sound effects + } header: { + Text("Effects") + } + + Section { + // About + // Report bugs + // Twitter + } header: { + Text("Get in touch") + } } .navigationTitle("Settings") .toolbar {