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,
|
configurationType: OpenVPN.Configuration.self,
|
||||||
selectedEntity: providerEntity.wrappedValue,
|
selectedEntity: providerEntity.wrappedValue,
|
||||||
filtersWithSelection: true,
|
filtersWithSelection: true,
|
||||||
selectTitle: Strings.Providers.selectEntity,
|
|
||||||
onSelect: onSelectServer
|
onSelect: onSelectServer
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue