Change label "username" to "Email" in login form
This commit is contained in:
committed by
Dat H. Pham
parent
32b8e714a3
commit
3bc27174ca
@@ -114,8 +114,8 @@ class LoginView extends GetWidget<LoginController> {
|
||||
..textInputAction(TextInputAction.next)
|
||||
..keyboardType(TextInputType.emailAddress)
|
||||
..textDecoration(LoginInputDecorationBuilder()
|
||||
.setLabelText(AppLocalizations.of(context).username)
|
||||
.setHintText(AppLocalizations.of(context).username)
|
||||
.setLabelText(AppLocalizations.of(context).email)
|
||||
.setHintText(AppLocalizations.of(context).email)
|
||||
.build()))
|
||||
.build()));
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"username": "username",
|
||||
"@username": {
|
||||
"email": "email",
|
||||
"@email": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"username": "username",
|
||||
"@username": {
|
||||
"email": "email",
|
||||
"@email": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"@@last_modified": "2021-10-26T14:38:31.924635",
|
||||
"@@last_modified": "2021-11-12T11:15:02.318577",
|
||||
"initializing_data": "Initializing data...",
|
||||
"@initializing_data": {
|
||||
"type": "text",
|
||||
@@ -18,8 +18,8 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"username": "username",
|
||||
"@username": {
|
||||
"email": "email",
|
||||
"@email": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"username": "username",
|
||||
"@username": {
|
||||
"email": "email",
|
||||
"@email": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"username": "username",
|
||||
"@username": {
|
||||
"email": "email",
|
||||
"@email": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -34,9 +34,9 @@ class AppLocalizations {
|
||||
name: 'prefix_https');
|
||||
}
|
||||
|
||||
String get username {
|
||||
return Intl.message('username',
|
||||
name: 'username');
|
||||
String get email {
|
||||
return Intl.message('email',
|
||||
name: 'email');
|
||||
}
|
||||
|
||||
String get password {
|
||||
|
||||
Reference in New Issue
Block a user