Skip to content

Commit

Permalink
Update challengeManager.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Turtlepaw authored Sep 1, 2024
1 parent 1407b72 commit de24991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/challengeManager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class ChallengeProvider with ChangeNotifier {

Future<void> reloadChallenges(BuildContext context) async {
_challenges = [];
notifyListeners();
await fetchChallenges();
notifyListeners();
//if(context.mounted){
Expand Down

0 comments on commit de24991

Please sign in to comment.