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,28 +27,31 @@ struct SettingsView: View {
var body: some View { var body: some View {
ZStack { ZStack {
Color(theme.secondaryBGColor) Color(theme.secondaryBGColor)
ScrollView {
VStack {
Group {
closeButtonView
.padding()
VStack { cloudKitEnable
closeButtonView canDelete
.padding() changeIcon
themePicker
Group { showOnboardingButton
cloudKitEnable whyBackgroundMode
addTestDataCell specialThanksCell
clearDB
changeIcon
themePicker
showOnboardingButton
whyBackgroundMode
specialThanksCell
if useCloudKit {
cloudKitStatus
} }
canDelete Group {
addTestDataCell
clearDB
if useCloudKit {
cloudKitStatus
}
}
Spacer()
} }
Spacer()
} }
.padding() .padding()