diff --git a/src/components/mediaViewer/MediaViewerActions.tsx b/src/components/mediaViewer/MediaViewerActions.tsx index 22d3624cf..5270b2d15 100644 --- a/src/components/mediaViewer/MediaViewerActions.tsx +++ b/src/components/mediaViewer/MediaViewerActions.tsx @@ -201,7 +201,7 @@ const MediaViewerActions: FC = ({ if (isMobile) { const menuItems: MenuItemProps[] = []; - if (!message?.isForwardingAllowed && !isChatProtected) { + if (message?.isForwardingAllowed && !isChatProtected) { menuItems.push({ icon: 'forward', onClick: onForward, @@ -227,7 +227,7 @@ const MediaViewerActions: FC = ({ if (canReport) { menuItems.push({ - icon: 'report', + icon: 'flag', onClick: onReport, children: lang('ReportPeer.Report'), }); @@ -246,6 +246,7 @@ const MediaViewerActions: FC = ({ icon: 'delete', onClick: openDeleteModal, children: lang('Delete'), + destructive: true, }); } @@ -260,7 +261,7 @@ const MediaViewerActions: FC = ({ positionX="right" > {menuItems.map(({ - icon, onClick, href, download, children, + icon, onClick, href, download, children, destructive, }) => ( = ({ href={href} download={download} onClick={onClick} + destructive={destructive} > {children}