mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-02 07:01:28 +03:00
change all ocusNode: FocusNode()..requestFocus(), to autofocus: true``
This commit is contained in:
@@ -634,7 +634,7 @@ void setPasswordDialog() async {
|
||||
border: const OutlineInputBorder(),
|
||||
errorText: errMsg0.isNotEmpty ? errMsg0 : null),
|
||||
controller: p0,
|
||||
focusNode: FocusNode()..requestFocus(),
|
||||
autofocus: true,
|
||||
onChanged: (value) {
|
||||
rxPass.value = value.trim();
|
||||
},
|
||||
|
||||
@@ -798,7 +798,7 @@ class _FileManagerPageState extends State<FileManagerPage>
|
||||
"Please enter the folder name"),
|
||||
),
|
||||
controller: name,
|
||||
focusNode: FocusNode()..requestFocus(),
|
||||
autofocus: true,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user