put settings in a scrollview
group debug options to the bottom
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user