mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Adjust TerminateAfterLastWindowClosed toggle location
Move from advanced pane into general
This commit is contained in:
parent
3d6908f526
commit
59331bcb38
2 changed files with 6 additions and 5 deletions
|
|
@ -151,11 +151,6 @@ struct AdvancedPreferencePane: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.groupBoxStyle(PreferencesGroupBoxStyle())
|
.groupBoxStyle(PreferencesGroupBoxStyle())
|
||||||
|
|
||||||
GroupBox(label: Text("Misc")) {
|
|
||||||
Toggle("TerminateAfterLastWindowClosed", isOn: $appState.terminateAfterLastWindowClosed)
|
|
||||||
}
|
|
||||||
.groupBoxStyle(PreferencesGroupBoxStyle())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,12 @@ struct GeneralPreferencePane: View {
|
||||||
NotificationsView().environmentObject(appState)
|
NotificationsView().environmentObject(appState)
|
||||||
}
|
}
|
||||||
.groupBoxStyle(PreferencesGroupBoxStyle())
|
.groupBoxStyle(PreferencesGroupBoxStyle())
|
||||||
|
Divider()
|
||||||
|
|
||||||
|
GroupBox(label: Text("Misc")) {
|
||||||
|
Toggle("TerminateAfterLastWindowClosed", isOn: $appState.terminateAfterLastWindowClosed)
|
||||||
|
}
|
||||||
|
.groupBoxStyle(PreferencesGroupBoxStyle())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue