Show a snackbar when saving the profile

This commit is contained in:
Roland Geider committed 2022-05-12 19:17:38 +02:00
1 parent 6ee9aaee06
commit f6a2dcbf33
1 file changed
+3 -1
+3 -1
View File
@@ -112,8 +112,10 @@ class _UserProfileFormState extends State<UserProfileForm> {
// Update profile
context.read<UserProvider>().saveProfile();
Navigator.of(context).pop();
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text(AppLocalizations.of(context).successfullySaved)),
);
},
),
],