|
@@ -49,8 +49,11 @@ extension Settings {
|
|
|
Toggle("Debug options", isOn: $state.debugOptions)
|
|
Toggle("Debug options", isOn: $state.debugOptions)
|
|
|
if state.debugOptions {
|
|
if state.debugOptions {
|
|
|
Group {
|
|
Group {
|
|
|
- Text("NS Upload Profile and Settings").onTapGesture {
|
|
|
|
|
- state.uploadProfileAndSettings()
|
|
|
|
|
|
|
+ HStack {
|
|
|
|
|
+ Text("NS Upload Profile and Settings")
|
|
|
|
|
+ Button("Upload") { state.uploadProfileAndSettings() }
|
|
|
|
|
+ .frame(maxWidth: .infinity, alignment: .trailing)
|
|
|
|
|
+ .buttonStyle(.borderedProminent)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
Group {
|
|
Group {
|