Show a snackbar when saving the profile

This commit is contained in:
Roland Geider
2022-05-12 19:17:38 +02:00
parent 6ee9aaee06
commit f6a2dcbf33

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)),
);
},
),
],