Merge pull request #3767 from fufesou/fix/check_text_controller

fix connect dialog, check controller null
This commit is contained in:
RustDesk 2023-03-24 19:24:11 +08:00 committed by GitHub
commit 12a5a7cf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,7 +541,7 @@ _connectDialog(
controller: passwordController, controller: passwordController,
autoFocus: false, autoFocus: false,
), ),
usernameController == null || usernameController == null usernameController == null || peerPasswordController == null
? Offstage() ? Offstage()
: const Divider(), : const Divider(),
peerPasswordController == null peerPasswordController == null