Skip to content

Commit 0a7be4e

Browse files
committed
edit logout dialog
1 parent f0afbd4 commit 0a7be4e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/app/modules/root/controllers/root_controller.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ class RootController extends GetxController {
4040
}
4141

4242
void logout() {
43-
Dialogs.questionDialog(
44-
title: "Are you sure you want\nto logout?",
45-
btnOkText: "Yes, logout",
46-
btnCancelOnPress: () {},
43+
Dialogs.warningDialog(
44+
title: "You are about to logout",
45+
btnOkText: "Logout",
4746
btnOkOnPress: AuthController.to.logout,
4847
);
4948
}

0 commit comments

Comments
 (0)