parent
1a82aea612
commit
bf3c50c348
|
@ -150,13 +150,9 @@ private extension ProviderContentModifier {
|
|||
private extension ProviderContentModifier {
|
||||
func loadCurrentProvider() {
|
||||
Task {
|
||||
if let providerId {
|
||||
async let index = await refreshIndex()
|
||||
async let provider = await refreshInfrastructure(for: providerId)
|
||||
_ = await (index, provider)
|
||||
onSelectProvider(providerManager, providerId, true)
|
||||
} else {
|
||||
await refreshIndex()
|
||||
if let providerId {
|
||||
onSelectProvider(providerManager, providerId, true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue