From 22558b577576e93be32b3570b5d5957be1607ce3 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 27 Jun 2023 13:52:29 +0800 Subject: [PATCH] fix ci --- flutter/lib/common.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 6eb925bf9..e4d8416d1 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -1444,7 +1444,9 @@ Future _adjustRestoreMainWindowOffset( /// Restore window position and size on start /// Note that windowId must be provided if it's subwindow Future restoreWindowPosition(WindowType type, {int? windowId}) async { - if (bind.mainGetEnv("DISABLE_RUSTDESK_RESTORE_WINDOW_POSITION").isNotEmpty) { + if (bind + .mainGetEnv(key: "DISABLE_RUSTDESK_RESTORE_WINDOW_POSITION") + .isNotEmpty) { return false; } if (type != WindowType.Main && windowId == null) {