Fix keyboard dose not close when enter username then login success on iOS
This commit is contained in:
@@ -471,6 +471,8 @@ class LoginController extends ReloadableController {
|
|||||||
|
|
||||||
void invokeDNSLookupToGetJmapUrl() {
|
void invokeDNSLookupToGetJmapUrl() {
|
||||||
log('LoginController::invokeDNSLookupToGetJmapUrl:_username $_username');
|
log('LoginController::invokeDNSLookupToGetJmapUrl:_username $_username');
|
||||||
|
FocusManager.instance.primaryFocus?.unfocus();
|
||||||
|
|
||||||
if (_username == null) {
|
if (_username == null) {
|
||||||
consumeState(Stream.value(Left(AuthenticationUserFailure(CanNotFoundUserName()))));
|
consumeState(Stream.value(Left(AuthenticationUserFailure(CanNotFoundUserName()))));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user