From 245f08055f223eeb6b9628e0508ea49282f17e7a Mon Sep 17 00:00:00 2001 From: fufesou <13586388+fufesou@users.noreply.github.com> Date: Tue, 25 Jun 2024 00:31:41 +0800 Subject: [PATCH] fix: mobile, chat menu, hide after tapping (#8465) Signed-off-by: fufesou --- flutter/lib/mobile/pages/remote_page.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart index c9a9daf616..b47c6b132b 100644 --- a/flutter/lib/mobile/pages/remote_page.dart +++ b/flutter/lib/mobile/pages/remote_page.dart @@ -569,9 +569,11 @@ class _RemotePageState extends State { child: Text(translate(label), style: labelStyle), trailingIcon: Transform.scale( scale: (isDesktop || isWebDesktop) ? 0.8 : 1, - child: IconButton( - onPressed: onPressed, - icon: icon, + child: IgnorePointer( + child: IconButton( + onPressed: null, + icon: icon, + ), ), ), onPressed: onPressed,