There was an error while loading. Please reload this page.
1 parent f0afbd4 commit 0a7be4eCopy full SHA for 0a7be4e
lib/app/modules/root/controllers/root_controller.dart
@@ -40,10 +40,9 @@ class RootController extends GetxController {
40
}
41
42
void logout() {
43
- Dialogs.questionDialog(
44
- title: "Are you sure you want\nto logout?",
45
- btnOkText: "Yes, logout",
46
- btnCancelOnPress: () {},
+ Dialogs.warningDialog(
+ title: "You are about to logout",
+ btnOkText: "Logout",
47
btnOkOnPress: AuthController.to.logout,
48
);
49
0 commit comments