Reword "Connect" to "Select" in server selector

Does not reconnect if connection is inactive.

Regression in fff21c3250
This commit is contained in:
Davide 2024-11-03 16:57:40 +01:00
parent 4e423e3dd9
commit d59f408db8
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
3 changed files with 1 additions and 3 deletions

View File

@ -220,7 +220,6 @@ private extension OpenVPNView {
configurationType: OpenVPN.Configuration.self, configurationType: OpenVPN.Configuration.self,
selectedEntity: providerEntity.wrappedValue, selectedEntity: providerEntity.wrappedValue,
filtersWithSelection: true, filtersWithSelection: true,
selectTitle: Strings.Providers.selectEntity,
onSelect: onSelectServer onSelect: onSelectServer
) )
} }

View File

@ -51,7 +51,6 @@ struct VPNProviderServerCoordinator<Configuration>: View where Configuration: Pr
configurationType: Configuration.self, configurationType: Configuration.self,
selectedEntity: selectedEntity, selectedEntity: selectedEntity,
filtersWithSelection: false, filtersWithSelection: false,
selectTitle: Strings.Global.connect,
onSelect: onSelect onSelect: onSelect
) )
.toolbar { .toolbar {

View File

@ -42,7 +42,7 @@ struct VPNProviderServerView<Configuration>: View where Configuration: ProviderC
let filtersWithSelection: Bool let filtersWithSelection: Bool
let selectTitle: String var selectTitle = Strings.Providers.selectEntity
let onSelect: (VPNServer, VPNPreset<Configuration>) -> Void let onSelect: (VPNServer, VPNPreset<Configuration>) -> Void