From e0f41219aacaaeea4d38a7befae6a08be8c5c7be Mon Sep 17 00:00:00 2001 From: koalasat Date: Tue, 12 Nov 2024 15:57:44 +0100 Subject: [PATCH] Show turtle mode on android --- .../EncryptedChat/ChatHeader/index.tsx | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/TradeBox/EncryptedChat/ChatHeader/index.tsx b/frontend/src/components/TradeBox/EncryptedChat/ChatHeader/index.tsx index 8e4f43cb..2d07a083 100644 --- a/frontend/src/components/TradeBox/EncryptedChat/ChatHeader/index.tsx +++ b/frontend/src/components/TradeBox/EncryptedChat/ChatHeader/index.tsx @@ -43,27 +43,23 @@ const ChatHeader: React.FC = ({ connected, peerConnected, turtleMode, set - {window.ReactNativeWebView === undefined ? ( - - + + { + setTurtleMode(!turtleMode); + }} > - { - setTurtleMode(!turtleMode); - }} - > - - - - - ) : ( - <> - )} + + + +