Skip to content

Commit

Permalink
plans: enable showing locations by default (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
wfleischer authored Jan 6, 2025
1 parent 917a326 commit bec2a88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void main() async {
expect(plan.language, Localizations.localeOf(buildContext).languageCode);
expect(plan.withTargetDate, true);
expect(plan.showEvents, true);
expect(plan.showLocations, false);
expect(plan.showLocations, true);
expect(plan.bookmark, const Bookmark(dayIndex: 0, sectionIndex: -1));
expect(providerContainer.read(plansProvider).plans.length, 1);
expect(find.byKey(const Key('no-plan-yet')), findsNothing);
Expand Down Expand Up @@ -223,7 +223,7 @@ void main() async {
expect(plan.language, firstBibleLanguageKey);
expect(plan.withTargetDate, false);
expect(plan.showEvents, true);
expect(plan.showLocations, false);
expect(plan.showLocations, true);
expect(plan.bookmark, const Bookmark(dayIndex: 0, sectionIndex: -1));
expect(providerContainer.read(plansProvider).plans.length, 2);
expect(find.byKey(const Key('no-plan-yet')), findsNothing);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/plans/entities/plans.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PlansNotifier extends Notifier<Plans> {
bookmark: const Bookmark(dayIndex: 0, sectionIndex: -1),
withTargetDate: true,
showEvents: true,
showLocations: false);
showLocations: true);
}

void addPlan(Plan plan) {
Expand Down

0 comments on commit bec2a88

Please sign in to comment.