🐛 Hide share via screenshot on web

This commit is contained in:
2025-08-11 22:23:21 +08:00
parent cf355a95fd
commit 2f0cf560f8

View File

@@ -211,13 +211,14 @@ class PostActionableItem extends HookConsumerWidget {
); );
}, },
), ),
MenuAction( if (!kIsWeb)
title: 'sharePostPhoto'.tr(), MenuAction(
image: MenuImage.icon(Symbols.share_reviews), title: 'sharePostPhoto'.tr(),
callback: () { image: MenuImage.icon(Symbols.share_reviews),
shareAsScreenshot(); callback: () {
}, shareAsScreenshot();
), },
),
MenuSeparator(), MenuSeparator(),
MenuAction( MenuAction(
title: 'abuseReport'.tr(), title: 'abuseReport'.tr(),