Skip to content

Commit

Permalink
logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelladinig committed May 14, 2024
1 parent 3845636 commit c57cec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/view/puzzle/dashboard_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class PuzzleDashboardWidget extends ConsumerWidget {
'SEVERE: [PuzzleDashboardWidget] could not load puzzle dashboard; $e\n$s',
);

if (!isOnline) {
if (isOnline) {
return Padding(
padding: Styles.bodySectionPadding,
child: Column(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/view/puzzle/puzzle_tab_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class PuzzleHistoryWidget extends ConsumerWidget {
'SEVERE: [PuzzleHistoryWidget] could not load puzzle history',
);

if (!isOnline) {
if (isOnline) {
return Padding(
padding: Styles.bodySectionPadding,
child: const Text('Could not load Puzzle history.'),
Expand Down

0 comments on commit c57cec2

Please sign in to comment.