Disable 'Tap for options' on Desktop

This commit is contained in:
Vitaliy Vlasov 2018-08-29 14:03:22 +03:00
parent fc12e22535
commit 7bde1ef1f9
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 6 additions and 3 deletions

View File

@ -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]]