mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-31 04:52:05 +00:00
Update providers index on add provider appearance
This commit is contained in:
parent
6bff878952
commit
1ea380312a
@ -81,6 +81,8 @@ struct AddProviderView: View {
|
||||
if !providers.isEmpty {
|
||||
providersSection
|
||||
}
|
||||
}.onAppear {
|
||||
viewModel.updateIndex(providerManager)
|
||||
}.onChange(of: viewModel.errorMessage) {
|
||||
onErrorMessage($0, scrollProxy)
|
||||
}.disabled(viewModel.pendingOperation != nil)
|
||||
|
Loading…
Reference in New Issue
Block a user