aboutsummaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart')
-rw-r--r--lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart b/lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart
index 48e1565..3fc895b 100644
--- a/lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart
+++ b/lib/presentation/screens/settings/settings_screens/profiles/widgets/profiles_content.dart
@@ -35,7 +35,7 @@ class ProfilesContentState extends ConsumerState<ProfilesContent> {
title: "Profiles",
hasBackButton: true,
onPressed: () {
- context.flow<AppState>().update((state) => AppState.settings);
+ ref.read(appProvider.notifier).back();
},
),
Expanded(