fix local nicknames
This commit is contained in:
parent
59e226bab2
commit
1e5288a016
|
@ -89,12 +89,14 @@
|
||||||
:accessory-text (or (:nickname names) (i18n/label :t/none))
|
:accessory-text (or (:nickname names) (i18n/label :t/none))
|
||||||
:on-press #(re-frame/dispatch [:navigate-to :nickname])
|
:on-press #(re-frame/dispatch [:navigate-to :nickname])
|
||||||
:chevron true}]
|
:chevron true}]
|
||||||
[quo/list-item
|
;; Mute chat is only supported on ios for now
|
||||||
{:title (i18n/label :t/mute)
|
(when platform/ios?
|
||||||
:active muted?
|
[quo/list-item
|
||||||
:accessibility-label :mute-chat
|
{:title (i18n/label :t/mute)
|
||||||
:on-press #(re-frame/dispatch [::chat.models/mute-chat-toggled public-key (not muted?)])
|
:active muted?
|
||||||
:accessory :switch}]]))
|
:accessibility-label :mute-chat
|
||||||
|
:on-press #(re-frame/dispatch [::chat.models/mute-chat-toggled public-key (not muted?)])
|
||||||
|
:accessory :switch}])]))
|
||||||
|
|
||||||
(defn chat-settings [contact]
|
(defn chat-settings [contact]
|
||||||
[react/view
|
[react/view
|
||||||
|
@ -205,8 +207,5 @@
|
||||||
:on-press action}]))]
|
:on-press action}]))]
|
||||||
[react/view styles/contact-profile-details-container
|
[react/view styles/contact-profile-details-container
|
||||||
[profile-details contact]
|
[profile-details contact]
|
||||||
;; Mute chat is only supported on ios for now
|
[chat-settings contact]]
|
||||||
(when platform/ios?
|
|
||||||
[react/view {}
|
|
||||||
[chat-settings contact]])]
|
|
||||||
[block-contact-action contact]]]))))
|
[block-contact-action contact]]]))))
|
||||||
|
|
Loading…
Reference in New Issue