remember remote window fullscreen, set global state

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-09-07 20:04:23 +08:00
parent 55fc0cb63b
commit 17af5622ec
2 changed files with 18 additions and 15 deletions

View File

@@ -410,6 +410,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
void onRemoveId(String id) async {
if (tabController.state.value.tabs.isEmpty) {
await WindowController.fromWindowId(windowId()).close();
stateGlobal.setFullscreen(false, procWnd: false);
}
ConnectionTypeState.delete(id);
_update_remote_count();