From 2f0cf560f8d82de6743dc7c13baafbd49ae5f506 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 11 Aug 2025 22:23:21 +0800 Subject: [PATCH] :bug: Hide share via screenshot on web --- lib/widgets/post/post_item.dart | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/widgets/post/post_item.dart b/lib/widgets/post/post_item.dart index 385b832..27140dc 100644 --- a/lib/widgets/post/post_item.dart +++ b/lib/widgets/post/post_item.dart @@ -211,13 +211,14 @@ class PostActionableItem extends HookConsumerWidget { ); }, ), - MenuAction( - title: 'sharePostPhoto'.tr(), - image: MenuImage.icon(Symbols.share_reviews), - callback: () { - shareAsScreenshot(); - }, - ), + if (!kIsWeb) + MenuAction( + title: 'sharePostPhoto'.tr(), + image: MenuImage.icon(Symbols.share_reviews), + callback: () { + shareAsScreenshot(); + }, + ), MenuSeparator(), MenuAction( title: 'abuseReport'.tr(),