From 4c78bd22c8a8618b84480881736a61bd900de5c4 Mon Sep 17 00:00:00 2001 From: "khaled.njim" Date: Tue, 19 Nov 2024 14:03:25 +0100 Subject: [PATCH] TW-2065 remove save to gallery button in web --- lib/pages/chat/chat.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index 3e19945e2..bb40972b9 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -1894,7 +1894,9 @@ class ChatController extends State !selectedEvents.first.isVideoOrImage) ChatAppBarActions.saveToDownload, ], - if (selectedEvents.length == 1 && selectedEvents.first.isVideoOrImage) + if (selectedEvents.length == 1 && + selectedEvents.first.isVideoOrImage && + !PlatformInfos.isWeb) ChatAppBarActions.saveToGallery, ChatAppBarActions.info, ChatAppBarActions.report,