fix: macos, fullscreen, remove mimimize button (#8238)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-06-01 21:28:35 +08:00 committed by GitHub
parent d79efcedef
commit b6ebf61d6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(),