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 {
61
61
62
62
/// List of solved puzzle results if available.
63
63
IList <PuzzleRound >? rounds,
64
+
65
+ @Default (false ) bool replaying,
64
66
}) = _PuzzleContext ;
65
67
}
66
68
@@ -140,6 +142,7 @@ class PuzzleService {
140
142
userId: userId,
141
143
glicko: null ,
142
144
rounds: null ,
145
+ replaying: true ,
143
146
),
144
147
);
145
148
} else {
Original file line number Diff line number Diff line change @@ -441,7 +441,8 @@ class _BottomBarState extends ConsumerState<_BottomBar> {
441
441
return PlatformBottomBar (
442
442
mainAxisAlignment: MainAxisAlignment .spaceAround,
443
443
children: [
444
- if (widget.initialPuzzleContext.userId != null &&
444
+ if (! widget.initialPuzzleContext.replaying &&
445
+ widget.initialPuzzleContext.userId != null &&
445
446
! isDailyPuzzle &&
446
447
puzzleState.mode != PuzzleMode .view)
447
448
_DifficultySelector (initialPuzzleContext: widget.initialPuzzleContext),
You can’t perform that action at this time.
0 commit comments