We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c745d commit 12824dfCopy full SHA for 12824df
lib/src/model/puzzle/puzzle_streak.dart
@@ -84,6 +84,10 @@ class PuzzleStreakController extends AsyncNotifier<StreakState> {
84
puzzle: state.requireValue.puzzle,
85
nextPuzzle: state.requireValue.nextPuzzle,
86
));
87
+
88
+ ref
89
+ .read(streakStorageProvider(ref.read(authControllerProvider)?.user.id))
90
+ .saveActiveStreak(state.requireValue.streak);
91
}
92
93
/// Advance the streak to the next puzzle.
0 commit comments