mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-31 04:52:05 +00:00
Drop animations on reload servers on iOS
This commit is contained in:
parent
4fcac3c95a
commit
b3c90b6802
@ -90,7 +90,7 @@ private extension VPNProviderServerView.ContentView {
|
||||
header: filtersViewModel.filters.categoryName ?? Strings.Views.Vpn.Category.any
|
||||
)
|
||||
.onLoad {
|
||||
if let selectedServer = selectedServer {
|
||||
if let selectedServer {
|
||||
expandedCodes.insert(selectedServer.provider.countryCode)
|
||||
}
|
||||
}
|
||||
@ -165,10 +165,8 @@ private extension VPNProviderServerView.ContentView {
|
||||
list.append($0)
|
||||
map[code] = list
|
||||
}
|
||||
withAnimation {
|
||||
serversByCountryCode = map
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user