fix profile
This commit is contained in:
@@ -96,7 +96,7 @@ class _ProfileEditState extends State<ProfileEdit> {
|
||||
});
|
||||
try {
|
||||
await Provider.of<MainModel>(context, listen: false)
|
||||
.updateProfile(nameController.text);
|
||||
.updateProfileName(nameController.text);
|
||||
Navigator.pop(context);
|
||||
} catch (e) {
|
||||
showMsgDialog(context, "Error", e.toString());
|
||||
|
||||
Reference in New Issue
Block a user