diff --git a/integration_test/app_test.dart b/integration_test/app_test.dart index 9c30324..4276927 100644 --- a/integration_test/app_test.dart +++ b/integration_test/app_test.dart @@ -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); @@ -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); diff --git a/lib/src/plans/entities/plans.dart b/lib/src/plans/entities/plans.dart index 1f4870c..5d09475 100644 --- a/lib/src/plans/entities/plans.dart +++ b/lib/src/plans/entities/plans.dart @@ -33,7 +33,7 @@ class PlansNotifier extends Notifier { bookmark: const Bookmark(dayIndex: 0, sectionIndex: -1), withTargetDate: true, showEvents: true, - showLocations: false); + showLocations: true); } void addPlan(Plan plan) {