Skip to content

Commit

Permalink
Update v2 announcement dialog (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas-Sander authored Apr 21, 2024
1 parent 477597d commit 1968267
Show file tree
Hide file tree
Showing 5 changed files with 543 additions and 330 deletions.
2 changes: 1 addition & 1 deletion app/lib/dashboard/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import 'package:sharezone/navigation/scaffold/sharezone_custom_scaffold.dart';
import 'package:sharezone/overview/cache/profile_page_hint_cache.dart';
import 'package:sharezone/settings/src/subpages/changelog_page.dart';
import 'package:sharezone/settings/src/subpages/my_profile/change_state.dart';
import 'package:sharezone/sharezone_v2/sz_v2_annoucement_dialog.dart';
import 'package:sharezone/sharezone_v2/sz_v2_announcement_dialog.dart';
import 'package:sharezone/timetable/src/widgets/events/calender_event_card.dart';
import 'package:sharezone/timetable/src/widgets/events/event_view.dart';
import 'package:sharezone/timetable/timetable_add_event/timetable_add_event_dialog.dart';
Expand Down
11 changes: 7 additions & 4 deletions app/lib/main/sharezone_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ import 'package:sharezone/settings/src/subpages/notification.dart';
import 'package:sharezone/settings/src/subpages/about/about_page.dart';
import 'package:sharezone/settings/src/subpages/imprint/page/imprint_page.dart';
import 'package:sharezone/settings/src/subpages/theme/theme_page.dart';
import 'package:sharezone/sharezone_v2/sz_v2_announcement_dialog.dart';
import 'package:sharezone/support/support_page.dart';
import 'package:sharezone/settings/src/subpages/timetable/timetable_settings_page.dart';
import 'package:sharezone/settings/src/subpages/web_app.dart';
Expand Down Expand Up @@ -149,10 +150,12 @@ class _SharezoneAppState extends State<SharezoneApp>
blocDependencies: widget.blocDependencies,
home: MissingAccountInformationGuard(
userCollection: widget.blocDependencies.references.users,
child: OnboardingListener(
child: NavigationController(
fbMessagingConfigurator: fbMessagingConfigurator,
key: navigationBloc.controllerKey,
child: SharezoneV2AnnoucementDialogGuard(
child: OnboardingListener(
child: NavigationController(
fbMessagingConfigurator: fbMessagingConfigurator,
key: navigationBloc.controllerKey,
),
),
),
),
Expand Down
308 changes: 0 additions & 308 deletions app/lib/sharezone_v2/sz_v2_annoucement_dialog.dart

This file was deleted.

Loading

0 comments on commit 1968267

Please sign in to comment.