fix profile
This commit is contained in:
@@ -162,8 +162,13 @@ class MainModel extends ChangeNotifier {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
Future<void> updateProfile(String newUserName) async {
|
||||
await Services.instance.authService.updateProfile(newUserName);
|
||||
Future<void> updateProfileName(String newUserName) async {
|
||||
await Services.instance.authService.updateProfileName(newUserName);
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
Future<void> updatePreferredCurrency(String currency) async {
|
||||
await Services.instance.authService.updatePreferredCurrency(currency);
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user