Skip to content

Commit

Permalink
TW-2065 remove save to gallery button in web
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaledNjim committed Nov 19, 2024
1 parent 450476d commit 4c78bd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pages/chat/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,9 @@ class ChatController extends State<Chat>
!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,
Expand Down

0 comments on commit 4c78bd2

Please sign in to comment.