Browse Source

fix bug #7344

master
daivph 5 years ago
parent
commit
6148a188fe
2 changed files with 4 additions and 9 deletions
  1. +2
    -2
      lib/presentation/screens/login/view/login_form.dart
  2. +2
    -7
      lib/presentation/screens/login/view/widget_top_welcome.dart

+ 2
- 2
lib/presentation/screens/login/view/login_form.dart View File

@@ -107,7 +107,7 @@ class _UsernameInput extends StatelessWidget {
autovalidate: true,
validator: (_) {
return state.username.invalid
? 'Vui lòng nhập tên đăng nhập'
? 'Vui lòng nhập tài khoản'
: null;
},
onFieldSubmitted: (_) {
@@ -119,7 +119,7 @@ class _UsernameInput extends StatelessWidget {
obscureText: false,
textAlign: TextAlign.left,
decoration: InputDecoration.collapsed(
hintText: 'Tên đăng nhập',
hintText: 'Tài khoản',
),
),
));

+ 2
- 7
lib/presentation/screens/login/view/widget_top_welcome.dart View File

@@ -7,7 +7,7 @@ class WidgetTopWelcome extends StatelessWidget {
return Column(
children: <Widget>[
SizedBox(
height: 41,
height: 80,
),
SizedBox(
width: 172,
@@ -17,13 +17,8 @@ class WidgetTopWelcome extends StatelessWidget {
),
),
SizedBox(
height: 40,
height: 80,
),
Text("Ứng dụng"),
Text("Tiên Phong Farm"),
SizedBox(
height: 30,
)
],
);
}

Loading…
Cancel
Save