Restore 'Add' button in NetworkSettings
Makes it clear that added fields must be submitted in order to be saved.
This commit is contained in:
parent
c63a39081b
commit
886d0271ea
|
@ -175,8 +175,8 @@ extension NetworkSettingsView {
|
||||||
).themeIPAddress($0.text.wrappedValue)
|
).themeIPAddress($0.text.wrappedValue)
|
||||||
} addLabel: {
|
} addLabel: {
|
||||||
Text(L10n.NetworkSettings.Items.AddDnsServer.caption)
|
Text(L10n.NetworkSettings.Items.AddDnsServer.caption)
|
||||||
// } commitLabel: {
|
} commitLabel: {
|
||||||
// Text(L10n.Global.Strings.add)
|
Text(L10n.Global.Strings.add)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -196,8 +196,8 @@ extension NetworkSettingsView {
|
||||||
).themeDomainName($0.text.wrappedValue)
|
).themeDomainName($0.text.wrappedValue)
|
||||||
} addLabel: {
|
} addLabel: {
|
||||||
Text(L10n.NetworkSettings.Items.AddDnsDomain.caption)
|
Text(L10n.NetworkSettings.Items.AddDnsDomain.caption)
|
||||||
// } commitLabel: {
|
} commitLabel: {
|
||||||
// Text(L10n.Global.Strings.add)
|
Text(L10n.Global.Strings.add)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -261,8 +261,8 @@ extension NetworkSettingsView {
|
||||||
).themeDomainName($0.text.wrappedValue)
|
).themeDomainName($0.text.wrappedValue)
|
||||||
} addLabel: {
|
} addLabel: {
|
||||||
Text(L10n.NetworkSettings.Items.AddProxyBypass.caption)
|
Text(L10n.NetworkSettings.Items.AddProxyBypass.caption)
|
||||||
// } commitLabel: {
|
} commitLabel: {
|
||||||
// Text(L10n.Global.Strings.add)
|
Text(L10n.Global.Strings.add)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue