File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/status_im/common/contact_list_item Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11(ns status-im.common.contact-list-item.view
22 (:require
33 [quo.core :as quo]
4+ [status-im.constants :as constants]
45 [utils.address :as address]
56 [utils.re-frame :as rf]))
67
78(defn contact-list-item
89 [{:keys [on-press on-long-press accessory allow-multiple-presses? disabled?]}
910 {:keys [primary-name secondary-name public-key compressed-key ens-verified added?
10- container-style]}
11+ container-style trust-status ]}
1112 theme]
1213 (let [photo-path (rf/sub [:chats/photo-path public-key])
1314 online? (rf/sub [:visibility-status-updates/online? public-key])
15+ untrustworthy? (= constants/contact-trust-status-untrustworthy trust-status)
1416 customization-color (rf/sub [:profile/customization-color ])]
1517 [quo/user
1618 {:customization-color customization-color
2325 :online? online?
2426 :verified? ens-verified
2527 :contact? added?
28+ :untrustworthy? untrustworthy?
2629 :on-press on-press
2730 :on-long-press on-long-press
2831 :accessory accessory
You can’t perform that action at this time.
0 commit comments