fix connection note

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-07-01 09:33:48 +08:00
parent 3e321327a4
commit 89071a4fdb
5 changed files with 12 additions and 11 deletions

View File

@@ -1575,6 +1575,7 @@ class FFI {
var version = '';
var connType = ConnType.defaultConn;
var closed = false;
var auditNote = '';
/// dialogManager use late to ensure init after main page binding [globalKey]
late final dialogManager = OverlayDialogManager();
@@ -1624,6 +1625,7 @@ class FFI {
String? password,
bool? forceRelay}) {
closed = false;
auditNote = '';
assert(!(isFileTransfer && isPortForward), 'more than one connect type');
if (isFileTransfer) {
connType = ConnType.fileTransfer;