From 7bde1ef1f9028bd7939c6369af5d9739ca7543a7 Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Wed, 29 Aug 2018 14:03:22 +0300 Subject: [PATCH] Disable 'Tap for options' on Desktop --- src/status_im/chat/views/message/message.cljs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/status_im/chat/views/message/message.cljs b/src/status_im/chat/views/message/message.cljs index f722a3b482..9f97879299 100644 --- a/src/status_im/chat/views/message/message.cljs +++ b/src/status_im/chat/views/message/message.cljs @@ -281,9 +281,12 @@ :message-id message-id}])))} [react/view style/not-sent-view [react/text {:style style/not-sent-text} - (i18n/message-status-label :not-sent)] - [react/view style/not-sent-icon - [vector-icons/icon :icons/warning {:color colors/red}]]]]) + (i18n/message-status-label (if platform/desktop? + :not-sent-without-tap + :not-sent))] + (when-not platform/desktop? + [react/view style/not-sent-icon + [vector-icons/icon :icons/warning {:color colors/red}]])]]) (defview command-status [{{:keys [network]} :params}] (letsubs [current-network [:network-name]]