mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 14:59:02 +08:00
fix: macos, fullscreen, remove mimimize button (#8238)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
d79efcedef
commit
b6ebf61d6c
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user