diff --git a/frontend/src/components/TradeBox/EncryptedChat/ChatBottom/index.tsx b/frontend/src/components/TradeBox/EncryptedChat/ChatBottom/index.tsx index 3d535c34..7645f742 100644 --- a/frontend/src/components/TradeBox/EncryptedChat/ChatBottom/index.tsx +++ b/frontend/src/components/TradeBox/EncryptedChat/ChatBottom/index.tsx @@ -17,14 +17,6 @@ const ChatBottom: React.FC = ({ orderId, setAudit, audit, createJsonFile const { t } = useTranslation(); const theme = useTheme(); - const onPGPClick: () => void = () => { - if (window.ReactNativeWebView === undefined) { - saveAsJson('complete_log_chat_' + orderId + '.json', createJsonFile()); - } else { - systemClient.copyToClipboard(JSON.stringify(createJsonFile())); - } - }; - return ( <> @@ -43,20 +35,41 @@ const ChatBottom: React.FC = ({ orderId, setAudit, audit, createJsonFile - - - + {window.ReactNativeWebView === undefined ? ( + + + + ) : ( + + + + )} );