From 886d0271ead05fc42409cc3b5a22bf77c210686e Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 23 Apr 2022 15:41:55 +0200 Subject: [PATCH] Restore 'Add' button in NetworkSettings Makes it clear that added fields must be submitted in order to be saved. --- Passepartout/App/Views/NetworkSettingsView.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Passepartout/App/Views/NetworkSettingsView.swift b/Passepartout/App/Views/NetworkSettingsView.swift index 3ee3d3e6..a8814718 100644 --- a/Passepartout/App/Views/NetworkSettingsView.swift +++ b/Passepartout/App/Views/NetworkSettingsView.swift @@ -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) } } }