From 05df5b5f87fcc35359a79693ebae95aff12cbc89 Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Tue, 11 Jul 2023 18:39:39 +0200 Subject: [PATCH] neon: add settings initial category to SettingsRoute --- packages/neon/neon/lib/src/utils/global_popups.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/neon/neon/lib/src/utils/global_popups.dart b/packages/neon/neon/lib/src/utils/global_popups.dart index 05a732a7..28a69bd7 100644 --- a/packages/neon/neon/lib/src/utils/global_popups.dart +++ b/packages/neon/neon/lib/src/utils/global_popups.dart @@ -3,6 +3,7 @@ import 'package:meta/meta.dart'; import 'package:neon/l10n/localizations.dart'; import 'package:neon/src/blocs/first_launch.dart'; import 'package:neon/src/blocs/next_push.dart'; +import 'package:neon/src/pages/settings.dart'; import 'package:neon/src/router.dart'; import 'package:neon/src/utils/global_options.dart'; import 'package:provider/provider.dart'; @@ -43,7 +44,7 @@ class GlobalPopups { action: SnackBarAction( label: AppLocalizations.of(context).settings, onPressed: () { - const SettingsRoute().go(context); + const SettingsRoute(initialCategory: SettingsCageories.pushNotifications).go(context); }, ), ),