From b6ebf61d6c5e6c61b863fc17509bbb2730e865aa Mon Sep 17 00:00:00 2001 From: fufesou <13586388+fufesou@users.noreply.github.com> Date: Sat, 1 Jun 2024 21:28:35 +0800 Subject: [PATCH] fix: macos, fullscreen, remove mimimize button (#8238) Signed-off-by: fufesou --- flutter/lib/desktop/widgets/remote_toolbar.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter/lib/desktop/widgets/remote_toolbar.dart b/flutter/lib/desktop/widgets/remote_toolbar.dart index 1374b08f7..6d3136c60 100644 --- a/flutter/lib/desktop/widgets/remote_toolbar.dart +++ b/flutter/lib/desktop/widgets/remote_toolbar.dart @@ -588,7 +588,7 @@ class _MobileActionMenu extends StatelessWidget { assetName: 'assets/actions_mobile.svg', tooltip: 'Mobile Actions', onPressed: () => - ffi.dialogManager.mobileActionsOverlayVisible.toggle(), + ffi.dialogManager.mobileActionsOverlayVisible.toggle(), color: ffi.dialogManager.mobileActionsOverlayVisible.isTrue ? _ToolbarTheme.blueColor : _ToolbarTheme.inactiveColor, @@ -2465,7 +2465,7 @@ class _DraggableShowHideState extends State<_DraggableShowHide> { ), ), )), - Obx(() => Offstage( + if (!isMacOS) Obx(() => Offstage( offstage: isFullscreen.isFalse, child: TextButton( onPressed: () => widget.setMinimize(),