parent
1a82aea612
commit
bf3c50c348
|
@ -150,13 +150,9 @@ private extension ProviderContentModifier {
|
||||||
private extension ProviderContentModifier {
|
private extension ProviderContentModifier {
|
||||||
func loadCurrentProvider() {
|
func loadCurrentProvider() {
|
||||||
Task {
|
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()
|
await refreshIndex()
|
||||||
|
if let providerId {
|
||||||
|
onSelectProvider(providerManager, providerId, true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue