desktop login on enter pressed

This commit is contained in:
julian 2022-11-22 07:13:03 -06:00
parent 6384d66308
commit b32e15a3ea

View file

@ -165,6 +165,12 @@ class _DesktopLoginViewState extends ConsumerState<DesktopLoginView> {
obscureText: hidePassword,
enableSuggestions: false,
autocorrect: false,
autofocus: true,
onSubmitted: (_) {
if (_continueEnabled) {
login();
}
},
decoration: standardInputDecoration(
"Enter password",
passwordFocusNode,