perbaikan on possale string 1
This commit is contained in:
@@ -82,7 +82,7 @@ void showDeleteAccountDialog(BuildContext context, WidgetRef ref) {
|
||||
.deleteAccount(businessId: businessId, password: passwordController.text);
|
||||
|
||||
if (isDeleted) {
|
||||
await LogOutRepo().signOut();
|
||||
await LogOutRepo().signOut(context: context);
|
||||
if (context.mounted) Navigator.of(context).pop();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ class SettingScreenState extends ConsumerState<SettingScreen> {
|
||||
ref.invalidate(businessInfoProvider);
|
||||
EasyLoading.show(status: lang.S.of(context).logOut);
|
||||
LogOutRepo repo = LogOutRepo();
|
||||
await repo.signOutApi();
|
||||
await repo.signOutApi(context: context);
|
||||
}
|
||||
if (value.value == 'delete_account') {
|
||||
showDeleteAccountDialog(context, ref);
|
||||
|
||||
Reference in New Issue
Block a user