From afd4a002d92acda03ddab22d084c2902f9e8d88d Mon Sep 17 00:00:00 2001 From: Moe Date: Mon, 23 May 2022 01:20:55 +0700 Subject: [PATCH] Remove unused button --- lib/components/forgot_pass_body.dart | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/components/forgot_pass_body.dart b/lib/components/forgot_pass_body.dart index 93f8a3d..9c2f09d 100644 --- a/lib/components/forgot_pass_body.dart +++ b/lib/components/forgot_pass_body.dart @@ -131,24 +131,6 @@ class _ForgotPassBodyState extends State { 'Reset Password', style: TextStyle(color: Colors.white, fontSize: 20), ), - ), - ElevatedButton( - style: ButtonStyle( - foregroundColor: - MaterialStateProperty.all(const Color(0xff8B0000)), - backgroundColor: - MaterialStateProperty.all(const Color(0xff8B0000)), - shape: MaterialStateProperty.all( - RoundedRectangleBorder( - borderRadius: BorderRadius.circular(18.0), - side: const BorderSide(color: Colors.black)))), - onPressed: () { - Navigator.pushNamed(context, '/login'); - }, - child: const Text( - 'Back to Login', - style: TextStyle(color: Colors.white, fontSize: 20), - ), ) ], ),