separate test only settings
This commit is contained in:
@@ -34,14 +34,15 @@ struct SettingsView: View {
|
|||||||
closeButtonView
|
closeButtonView
|
||||||
.padding()
|
.padding()
|
||||||
|
|
||||||
cloudKitEnable
|
// cloudKitEnable
|
||||||
canDelete
|
canDelete
|
||||||
showOnboardingButton
|
showOnboardingButton
|
||||||
whyBackgroundMode
|
|
||||||
specialThanksCell
|
specialThanksCell
|
||||||
}
|
}
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
|
Divider()
|
||||||
|
Text("Test builds only")
|
||||||
addTestDataCell
|
addTestDataCell
|
||||||
clearDB
|
clearDB
|
||||||
randomIcons
|
randomIcons
|
||||||
@@ -52,6 +53,7 @@ struct SettingsView: View {
|
|||||||
|
|
||||||
exportData
|
exportData
|
||||||
importData
|
importData
|
||||||
|
Divider()
|
||||||
}
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
@@ -307,6 +309,7 @@ struct SettingsView: View {
|
|||||||
EventLogger.log(event: "export_data", withData: ["title": "default"])
|
EventLogger.log(event: "export_data", withData: ["title": "default"])
|
||||||
}, label: {
|
}, label: {
|
||||||
Text("Export")
|
Text("Export")
|
||||||
|
.foregroundColor(textColor)
|
||||||
})
|
})
|
||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
@@ -322,6 +325,7 @@ struct SettingsView: View {
|
|||||||
EventLogger.log(event: "import_data", withData: ["title": "default"])
|
EventLogger.log(event: "import_data", withData: ["title": "default"])
|
||||||
}, label: {
|
}, label: {
|
||||||
Text("Import")
|
Text("Import")
|
||||||
|
.foregroundColor(textColor)
|
||||||
})
|
})
|
||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user