From 98544654914b062cf2547290a7340cad0defa442 Mon Sep 17 00:00:00 2001 From: Jigar-f Date: Thu, 11 Jan 2024 16:15:50 +0530 Subject: [PATCH] Remove change password button. --- lib/account/account_management.dart | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/lib/account/account_management.dart b/lib/account/account_management.dart index 4d0df9549..e5b99db22 100644 --- a/lib/account/account_management.dart +++ b/lib/account/account_management.dart @@ -25,13 +25,7 @@ class _AccountManagementState extends State super.dispose(); tabController.dispose(); } - - void openResetPassword() { - context.router.push(SignIn( - authFlow: AuthFlow.reset, - )); - } - + void openChangeEmail(String emailAddress) { context.router.push(ChangeEmail(email: emailAddress)); } @@ -343,18 +337,6 @@ class _AccountManagementState extends State header: 'password'.i18n, icon: ImagePaths.lockFiled, content: "********", - trailingArray: [ - Padding( - padding: const EdgeInsetsDirectional.only(start: 16.0), - child: TextButton( - onPressed: openResetPassword, - child: CText( - 'reset_password'.i18n.toUpperCase(), - style: tsButtonPink, - ), - ), - ), - ], ), sessionModel.expiryDate(( BuildContext context,