From a5e6453b62e1a07cb84f8a6de47b96104515f3e6 Mon Sep 17 00:00:00 2001 From: ice-hector <96414297+ice-hector@users.noreply.github.com> Date: Mon, 30 Dec 2024 17:52:10 +0200 Subject: [PATCH] fix: env loading --- lib/app/features/config/providers/force_update_provider.c.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/app/features/config/providers/force_update_provider.c.dart b/lib/app/features/config/providers/force_update_provider.c.dart index 9726aadf9..90f223d5a 100644 --- a/lib/app/features/config/providers/force_update_provider.c.dart +++ b/lib/app/features/config/providers/force_update_provider.c.dart @@ -43,6 +43,8 @@ class ForceUpdate extends _$ForceUpdate { } Future _checkAndUpdateConfig() async { + await ref.read(envProvider.future); + final refetchIntervalInMilliseconds = ref.read(envProvider.notifier).get(EnvVariable.VERSIONS_CONFIG_REFETCH_INTERVAL);