Restore 'Add' button in NetworkSettings

Makes it clear that added fields must be submitted in order to
be saved.
This commit is contained in:
Davide De Rosa 2022-04-23 15:41:55 +02:00
parent c63a39081b
commit 886d0271ea
1 changed files with 6 additions and 6 deletions

View File

@ -175,8 +175,8 @@ extension NetworkSettingsView {
).themeIPAddress($0.text.wrappedValue)
} addLabel: {
Text(L10n.NetworkSettings.Items.AddDnsServer.caption)
// } commitLabel: {
// Text(L10n.Global.Strings.add)
} commitLabel: {
Text(L10n.Global.Strings.add)
}
}
}
@ -196,8 +196,8 @@ extension NetworkSettingsView {
).themeDomainName($0.text.wrappedValue)
} addLabel: {
Text(L10n.NetworkSettings.Items.AddDnsDomain.caption)
// } commitLabel: {
// Text(L10n.Global.Strings.add)
} commitLabel: {
Text(L10n.Global.Strings.add)
}
}
}
@ -261,8 +261,8 @@ extension NetworkSettingsView {
).themeDomainName($0.text.wrappedValue)
} addLabel: {
Text(L10n.NetworkSettings.Items.AddProxyBypass.caption)
// } commitLabel: {
// Text(L10n.Global.Strings.add)
} commitLabel: {
Text(L10n.Global.Strings.add)
}
}
}