From a7df10a48527c89f9e7d11b669caf4e6d6de873f Mon Sep 17 00:00:00 2001 From: Turtlepaw <81275769+Turtlepaw@users.noreply.github.com> Date: Sun, 1 Sep 2024 16:09:57 -0400 Subject: [PATCH] Update challengeManager.dart --- lib/utils/challengeManager.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils/challengeManager.dart b/lib/utils/challengeManager.dart index 9f92f95..2243cfc 100644 --- a/lib/utils/challengeManager.dart +++ b/lib/utils/challengeManager.dart @@ -54,8 +54,8 @@ class ChallengeProvider with ChangeNotifier { Future reloadChallenges(BuildContext context) async { _challenges = []; await fetchChallenges(); - if(context.mounted){ - Provider.of(context, listen: false).fetchHealthData(); - } + //if(context.mounted){ + //Provider.of(context, listen: false).fetchHealthData(); + //} } }