This commit is contained in:
Hamza-Ayed
2024-02-09 16:38:45 +03:00
parent 8c61a79de3
commit 835be01923
7 changed files with 54 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ class LogoutCaptain extends StatelessWidget {
MyElevatedButton(
title: 'Log Off'.tr,
onPressed: () {
LogOut().logOutCaptain();
LogOutController().logOutCaptain();
}),
const SizedBox(
height: 30,
@@ -28,7 +28,7 @@ class LogoutCaptain extends StatelessWidget {
MyElevatedButton(
title: 'Delete My Account'.tr,
onPressed: () {
LogOut().deletecaptainAccount();
LogOutController().deletecaptainAccount();
},
kolor: AppColor.redColor,
),