Fetch providers index on launch

Fixes #707
This commit is contained in:
Davide 2024-10-23 19:08:51 +02:00
parent 91a3e42533
commit 1e06c350ee
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ import PassepartoutKit
public enum AppUI {
public static func configure(with context: AppContext) {
assertMissingModuleImplementations()
Task {
try? await context.providerManager.fetchIndex(from: API.shared)
}
}
}