@ -108,7 +108,7 @@ class UserProvider extends ChangeNotifier {
},
showMessage: true,
);
await updateProfile();
_profileModel = await updateProfile();
cancel();
notifyListeners();
}
@ -27,6 +27,7 @@ class AkuAvatar extends StatelessWidget {
image: API.image(userProvider.profileModel.firstImg?.url ?? ''),
height: size ?? 72.w,
width: size ?? 72.w,
fit: BoxFit.cover,
),
)
: CircleAvatar(