소스 검색

Show email id on login page

Neeraj Gupta 2 년 전
부모
커밋
e92f1e54b1
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      lib/ui/account/login_pwd_verification_page.dart

+ 7 - 1
lib/ui/account/login_pwd_verification_page.dart

@@ -5,6 +5,7 @@ import 'package:photos/core/configuration.dart';
 import "package:photos/generated/l10n.dart";
 import "package:photos/generated/l10n.dart";
 import "package:photos/models/api/user/srp.dart";
 import "package:photos/models/api/user/srp.dart";
 import "package:photos/services/user_service.dart";
 import "package:photos/services/user_service.dart";
+import "package:photos/theme/ente_theme.dart";
 import 'package:photos/ui/common/dynamic_fab.dart';
 import 'package:photos/ui/common/dynamic_fab.dart';
 import "package:photos/utils/dialog_util.dart";
 import "package:photos/utils/dialog_util.dart";
 import "package:photos/utils/toast_util.dart";
 import "package:photos/utils/toast_util.dart";
@@ -93,12 +94,17 @@ State<LoginPasswordVerificationPage> {
               children: [
               children: [
                 Padding(
                 Padding(
                   padding:
                   padding:
-                  const EdgeInsets.symmetric(vertical: 30, horizontal: 20),
+                  const EdgeInsets.only(top: 30, left: 20, right: 20),
                   child: Text(
                   child: Text(
                     S.of(context).enterPassword,
                     S.of(context).enterPassword,
                     style: Theme.of(context).textTheme.headlineMedium,
                     style: Theme.of(context).textTheme.headlineMedium,
                   ),
                   ),
                 ),
                 ),
+                Padding(
+                  padding: const EdgeInsets.only(bottom: 30, left: 22, right:
+                  20,),
+                  child: Text(email ?? '', style: getEnteTextTheme(context).smallMuted,),
+                ),
                 Visibility(
                 Visibility(
                   // hidden textForm for suggesting auto-fill service for saving
                   // hidden textForm for suggesting auto-fill service for saving
                   // password
                   // password