From eac8327f57f2a2d07ad8f70ea5bf84f0621330c8 Mon Sep 17 00:00:00 2001 From: fufesou Date: Fri, 23 Dec 2022 23:10:34 +0800 Subject: [PATCH] fix adjust window Signed-off-by: fufesou --- flutter/lib/desktop/widgets/remote_menubar.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flutter/lib/desktop/widgets/remote_menubar.dart b/flutter/lib/desktop/widgets/remote_menubar.dart index 0c2a6a971..c776f0e89 100644 --- a/flutter/lib/desktop/widgets/remote_menubar.dart +++ b/flutter/lib/desktop/widgets/remote_menubar.dart @@ -171,6 +171,8 @@ class _RemoteMenubarState extends State { @override Widget build(BuildContext context) { + // No need to use future builder here. + _updateScreen(); return Align( alignment: Alignment.topCenter, child: Obx(() => show.value