From 1e06c350eefff21373b7ef72df264673512e4eed Mon Sep 17 00:00:00 2001 From: Davide Date: Wed, 23 Oct 2024 19:08:51 +0200 Subject: [PATCH] Fetch providers index on launch Fixes #707 --- Passepartout/Library/Sources/AppUI/AppUI.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Passepartout/Library/Sources/AppUI/AppUI.swift b/Passepartout/Library/Sources/AppUI/AppUI.swift index 0fedff95..07d5ae04 100644 --- a/Passepartout/Library/Sources/AppUI/AppUI.swift +++ b/Passepartout/Library/Sources/AppUI/AppUI.swift @@ -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) + } } }