Do not force refresh infrastructure

Fixes #704
This commit is contained in:
Davide 2024-10-23 23:04:29 +02:00
parent 1a82aea612
commit bf3c50c348
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 1 additions and 5 deletions

View File

@ -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)
} }
} }
} }