fix connect dialog, check controller null

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-24 19:09:50 +08:00
parent 9ec0b4be56
commit a6cfed3f11

View File

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