Reword "Connect" to "Select" in server selector
Does not reconnect if connection is inactive.
Regression in fff21c3250
This commit is contained in:
parent
4e423e3dd9
commit
d59f408db8
|
@ -220,7 +220,6 @@ private extension OpenVPNView {
|
|||
configurationType: OpenVPN.Configuration.self,
|
||||
selectedEntity: providerEntity.wrappedValue,
|
||||
filtersWithSelection: true,
|
||||
selectTitle: Strings.Providers.selectEntity,
|
||||
onSelect: onSelectServer
|
||||
)
|
||||
}
|
||||
|
|
|
@ -51,7 +51,6 @@ struct VPNProviderServerCoordinator<Configuration>: View where Configuration: Pr
|
|||
configurationType: Configuration.self,
|
||||
selectedEntity: selectedEntity,
|
||||
filtersWithSelection: false,
|
||||
selectTitle: Strings.Global.connect,
|
||||
onSelect: onSelect
|
||||
)
|
||||
.toolbar {
|
||||
|
|
|
@ -42,7 +42,7 @@ struct VPNProviderServerView<Configuration>: View where Configuration: ProviderC
|
|||
|
||||
let filtersWithSelection: Bool
|
||||
|
||||
let selectTitle: String
|
||||
var selectTitle = Strings.Providers.selectEntity
|
||||
|
||||
let onSelect: (VPNServer, VPNPreset<Configuration>) -> Void
|
||||
|
||||
|
|
Loading…
Reference in New Issue