put settings in a scrollview

group debug options to the bottom
This commit is contained in:
Trey t
2022-02-05 10:45:46 -06:00
parent af90fad555
commit d757354756

View File

@@ -27,29 +27,32 @@ struct SettingsView: View {
var body: some View { var body: some View {
ZStack { ZStack {
Color(theme.secondaryBGColor) Color(theme.secondaryBGColor)
ScrollView {
VStack { VStack {
Group {
closeButtonView closeButtonView
.padding() .padding()
Group {
cloudKitEnable cloudKitEnable
addTestDataCell canDelete
clearDB
changeIcon changeIcon
themePicker themePicker
showOnboardingButton showOnboardingButton
whyBackgroundMode whyBackgroundMode
specialThanksCell specialThanksCell
}
Group {
addTestDataCell
clearDB
if useCloudKit { if useCloudKit {
cloudKitStatus cloudKitStatus
} }
canDelete
} }
Spacer() Spacer()
} }
}
.padding() .padding()
}.sheet(isPresented: $showOnboarding) { }.sheet(isPresented: $showOnboarding) {