Bläddra i källkod

Let the user resend emails

Vishnu Mohandas 4 år sedan
förälder
incheckning
12a1ccd8cd

+ 0 - 3
lib/ui/email_entry_page.dart

@@ -1,5 +1,3 @@
-import 'dart:developer';
-
 import 'package:flutter/cupertino.dart';
 import 'package:flutter/material.dart';
 import 'package:flutter/widgets.dart';
@@ -55,7 +53,6 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
               autocorrect: false,
               keyboardType: TextInputType.emailAddress,
               onChanged: (email) {
-                log(email);
                 setState(() {
                   _email = email;
                 });

+ 0 - 1
lib/ui/gallery_app_bar_widget.dart

@@ -174,7 +174,6 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
     Navigator.of(context).push(
       MaterialPageRoute(
         builder: (BuildContext context) {
-          // return OTTVerificationPage("hello@ente.io");
           return EmailEntryPage();
         },
       ),

+ 1 - 1
lib/ui/ott_verification_page.dart

@@ -30,7 +30,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
   Widget _getBody() {
     return SingleChildScrollView(
       child: Container(
-        padding: EdgeInsets.fromLTRB(8, 64, 8, 8),
+        padding: EdgeInsets.fromLTRB(8, 40, 8, 8),
         child: Column(
           crossAxisAlignment: CrossAxisAlignment.center,
           mainAxisSize: MainAxisSize.max,

+ 0 - 1
lib/user_authenticator.dart

@@ -127,7 +127,6 @@ class UserAuthenticator {
   }
 
   void _saveConfiguration(String email, Response response) {
-    _logger.info("Saving configuration " + response.data.toString());
     Configuration.instance.setEmail(email);
     Configuration.instance.setUserID(response.data["id"]);
     Configuration.instance.setToken(response.data["token"]);