mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
change all ocusNode: FocusNode()..requestFocus(), to autofocus: true``
This commit is contained in:
@@ -54,7 +54,7 @@ void changeIdDialog() {
|
||||
],
|
||||
maxLength: 16,
|
||||
controller: controller,
|
||||
focusNode: FocusNode()..requestFocus(),
|
||||
autofocus: true,
|
||||
),
|
||||
const SizedBox(
|
||||
height: 4.0,
|
||||
@@ -99,7 +99,7 @@ void changeWhiteList({Function()? callback}) async {
|
||||
errorText: msg.isEmpty ? null : translate(msg),
|
||||
),
|
||||
controller: controller,
|
||||
focusNode: FocusNode()..requestFocus()),
|
||||
autofocus: true),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -186,7 +186,7 @@ Future<String> changeDirectAccessPort(
|
||||
r'^([0-9]|[1-9]\d|[1-9]\d{2}|[1-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$')),
|
||||
],
|
||||
controller: controller,
|
||||
focusNode: FocusNode()..requestFocus()),
|
||||
autofocus: true),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user