Skip to content

Commit

Permalink
Merge pull request #51 from thaidmfinnick/develop
Browse files Browse the repository at this point in the history
build(mobile): 1.0.0+21
  • Loading branch information
thaidmfinnick authored Jan 3, 2025
2 parents aa69feb + 3a6e6a0 commit 7e562a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions mobile/lib/features/login/view/login_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,9 @@ class _RegisterBoxState extends State<RegisterBox> {
keyword: "first_name",
hasBorder: false,
callback: (value, keyword) {
registerData["first_name"] = value.trim();
setState(() {
registerData["first_name"] = value.trim();
});
},
),
),
Expand All @@ -400,7 +402,9 @@ class _RegisterBoxState extends State<RegisterBox> {
keyword: "last_name",
hasBorder: false,
callback: (value, keyword) {
registerData["last_name"] = value.trim();
setState(() {
registerData["last_name"] = value.trim();
});
// context.read<LoginBloc>().add(LoginNameChanged(name: value));
},
),
Expand Down Expand Up @@ -478,7 +482,9 @@ class _RegisterBoxState extends State<RegisterBox> {
errorText: "Vui lòng nhập đúng định dạng 10 chữ số",
hasBorder: false,
callback: (value, keyword) {
registerData["phone_number"] = value;
setState(() {
registerData["phone_number"] = value;
});
},
),

Expand All @@ -497,7 +503,9 @@ class _RegisterBoxState extends State<RegisterBox> {
hasBorder: false,
isPassword: true,
callback: (value, keyword) {
registerData["password"] = value;
setState(() {
registerData["password"] = value;
});
},
),

Expand Down
2 changes: 1 addition & 1 deletion mobile/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "WazNet (Waste zero, Net zero) is a mobile app that helps users tra
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+20
version: 1.0.0+21

environment:
sdk: ^3.5.3
Expand Down

0 comments on commit 7e562a3

Please sign in to comment.