Skip to content

Commit

Permalink
Remove change password button.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Jan 11, 2024
1 parent 89b7a52 commit 9854465
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions lib/account/account_management.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ class _AccountManagementState extends State<AccountManagement>
super.dispose();
tabController.dispose();
}

void openResetPassword() {
context.router.push(SignIn(
authFlow: AuthFlow.reset,
));
}


void openChangeEmail(String emailAddress) {
context.router.push(ChangeEmail(email: emailAddress));
}
Expand Down Expand Up @@ -343,18 +337,6 @@ class _AccountManagementState extends State<AccountManagement>
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,
Expand Down

0 comments on commit 9854465

Please sign in to comment.