mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-06 15:54:31 +01:00
Show a snackbar when saving the profile
This commit is contained in:
1 parent
6ee9aaee06
commit
f6a2dcbf33
1 file changed
+3
-1
@@ -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)),
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user