From 67612f0031ffd6939303e64e6d29ff4a31892e80 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Mon, 13 Jun 2022 20:46:29 +0530 Subject: [PATCH] remove unused code --- lib/ui/login_page.dart | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/lib/ui/login_page.dart b/lib/ui/login_page.dart index 55edf9af1..ea4144051 100644 --- a/lib/ui/login_page.dart +++ b/lib/ui/login_page.dart @@ -1,8 +1,6 @@ import 'package:email_validator/email_validator.dart'; -import 'package:flutter/cupertino.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/widgets.dart'; import 'package:photos/core/configuration.dart'; import 'package:photos/services/user_service.dart'; import 'package:photos/ui/common/dynamicFAB.dart'; @@ -201,25 +199,6 @@ class _LoginPageState extends State { ), ), Padding(padding: EdgeInsets.all(8)), - // Container( - // width: double.infinity, - // height: 64, - // padding: const EdgeInsets.fromLTRB(80, 0, 80, 0), - // child: ElevatedButton( - // child: Text("log in"), - // onPressed: _email != null && _email.isNotEmpty - // ? () { - // if (!isValidEmail(_email)) { - // showErrorDialog(context, "invalid email address", - // "please enter a valid email address."); - // return; - // } - // _config.setEmail(_email); - // UserService.instance.getOtt(context, _email); - // } - // : null, - // ), - // ), ], ); }