Skip to content

Commit bc84588

Browse files
APPLE: integrate core changes (#3649)
1 parent 52e03c3 commit bc84588

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nym-vpn-apple/Home/Sources/Gateways/GatewaysViewModel.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import UIComponents
1414
@Binding var path: NavigationPath
1515
@Published var isGeolocationModalDisplayed = false
1616
@Published var gateways = [GatewayNode]()
17-
@Published var countries = [Country]()
18-
@Published var foundCountries = [Country]()
17+
@Published var countries = [NymCountry]()
18+
@Published var foundCountries = [NymCountry]()
1919
@Published var foundUSRegions = [String]()
2020
@Published var foundGateways = [GatewayNode]()
2121
@Published var scrollToModel: GatewayScrollToModel
@@ -101,8 +101,7 @@ import UIComponents
101101
func searchCountriesGateways() {
102102
guard searchText.count >= minimumSearchSymbols
103103
else {
104-
foundCountries = [Country]()
105-
foundUSRegions = [String]()
104+
foundCountries = [NymCountry]()
106105
foundGateways = [GatewayNode]()
107106
return
108107
}

0 commit comments

Comments
 (0)