Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianLa0616 committed Feb 21, 2024
1 parent 8df0074 commit 7856246
Show file tree
Hide file tree
Showing 3 changed files with 2,955 additions and 9,129 deletions.
4 changes: 2 additions & 2 deletions game/lib/journeys/journeys_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class _JourneysPageState extends State<JourneysPage> {
false,
false);
}
final events = myEventModel.searchResults!;
final events = myEventModel.searchResults ?? [];
if (!events
.any((element) => element.id == groupModel.curEventId)) {
final curEvent =
Expand Down Expand Up @@ -157,7 +157,7 @@ class _JourneysPageState extends State<JourneysPage> {
event.name,
event.description,
locationCount,
numberCompleted ?? 0,
numberCompleted,
complete,
difficulty,
event.minimumScore,
Expand Down
Loading

0 comments on commit 7856246

Please sign in to comment.