forked from MeloNX/MeloNX
add back SDL Window option
This commit is contained in:
parent
ea2eff15c6
commit
e924da52ec
Binary file not shown.
@ -544,12 +544,10 @@ struct SettingsView: View {
|
|||||||
|
|
||||||
// Advanced
|
// Advanced
|
||||||
Section {
|
Section {
|
||||||
/*
|
|
||||||
Toggle(isOn: $windowCode) {
|
Toggle(isOn: $windowCode) {
|
||||||
labelWithIcon("SDL Window", iconName: "macwindow.on.rectangle")
|
labelWithIcon("SDL Window", iconName: "macwindow.on.rectangle")
|
||||||
}
|
}
|
||||||
.tint(.blue)
|
.tint(.blue)
|
||||||
*/
|
|
||||||
|
|
||||||
DisclosureGroup {
|
DisclosureGroup {
|
||||||
|
|
||||||
@ -617,8 +615,6 @@ struct SettingsView: View {
|
|||||||
if let configs = loadSettings() {
|
if let configs = loadSettings() {
|
||||||
self.config = configs
|
self.config = configs
|
||||||
}
|
}
|
||||||
|
|
||||||
windowCode = false
|
|
||||||
}
|
}
|
||||||
.onChange(of: config) { _ in
|
.onChange(of: config) { _ in
|
||||||
saveSettings()
|
saveSettings()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user