File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ class PuzzleContext with _$PuzzleContext {
6161
6262 /// List of solved puzzle results if available.
6363 IList <PuzzleRound >? rounds,
64+
65+ @Default (false ) bool replaying,
6466 }) = _PuzzleContext ;
6567}
6668
@@ -140,6 +142,7 @@ class PuzzleService {
140142 userId: userId,
141143 glicko: null ,
142144 rounds: null ,
145+ replaying: true ,
143146 ),
144147 );
145148 } else {
Original file line number Diff line number Diff line change @@ -396,7 +396,8 @@ class _BottomBar extends ConsumerWidget {
396396 return PlatformBottomBar (
397397 mainAxisAlignment: MainAxisAlignment .spaceAround,
398398 children: [
399- if (initialPuzzleContext.userId != null &&
399+ if (! initialPuzzleContext.replaying &&
400+ initialPuzzleContext.userId != null &&
400401 ! isDailyPuzzle &&
401402 puzzleState.mode != PuzzleMode .view)
402403 _DifficultySelector (
You can’t perform that action at this time.
0 commit comments