fix: mobile actions, position (#8446)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-06-23 11:06:47 +08:00 committed by GitHub
parent a9e0ea8520
commit 40cb59336f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 164 additions and 48 deletions

View file

@ -579,8 +579,8 @@ class _MobileActionMenu extends StatelessWidget {
return Obx(() => _IconMenuButton(
assetName: 'assets/actions_mobile.svg',
tooltip: 'Mobile Actions',
onPressed: () =>
ffi.dialogManager.mobileActionsOverlayVisible.toggle(),
onPressed: () => ffi.dialogManager.setMobileActionsOverlayVisible(
!ffi.dialogManager.mobileActionsOverlayVisible.value),
color: ffi.dialogManager.mobileActionsOverlayVisible.isTrue
? _ToolbarTheme.blueColor
: _ToolbarTheme.inactiveColor,