Skip to content

Commit

Permalink
Fix keyboard dose not close when enter username then login success on…
Browse files Browse the repository at this point in the history
… iOS
  • Loading branch information
dab246 authored and hoangdat committed Nov 11, 2024
1 parent d3aaf47 commit 26e7eed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/features/login/presentation/login_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ class LoginController extends ReloadableController {

void invokeDNSLookupToGetJmapUrl() {
log('LoginController::invokeDNSLookupToGetJmapUrl:_username $_username');
FocusManager.instance.primaryFocus?.unfocus();

if (_username == null) {
consumeState(Stream.value(Left(AuthenticationUserFailure(CanNotFoundUserName()))));
} else {
Expand Down

0 comments on commit 26e7eed

Please sign in to comment.