mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-05 23:44:02 +01:00
Show a snackbar when saving the profile
This commit is contained in:
@@ -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