Formatting

This commit is contained in:
ibrahem
2023-01-12 11:47:07 +02:00
committed by ibrkhalil
parent 18252c1be6
commit 9deb5dbf56
2 changed files with 17 additions and 1 deletions
@@ -46,15 +46,32 @@
:right 20}}
(if (= icon :options)
[quo/icon :i/options
<<<<<<< HEAD
{:size 20
:color (colors/theme-colors colors/neutral-50 colors/neutral-40)}]
=======
{:size 20 :color (colors/theme-colors colors/neutral-50 colors/neutral-40)}]
>>>>>>> 17d3ad846 (Formatting)
(react/use-memo
(fn []
[quo/checkbox
{:default-checked? @checked?
:accessibility-label :contact-toggle-check
:disabled? (and member? (not admin?))
<<<<<<< HEAD
:on-change on-check}])
=======
:on-change (fn [selected]
(if start-a-new-chat?
(on-toggle true @checked? public-key)
(if-not member?
(if selected
(rf/dispatch [:select-participant public-key true])
(rf/dispatch [:deselect-participant public-key true]))
(if selected
(rf/dispatch [:undo-deselect-member public-key true])
(rf/dispatch [:deselect-member public-key true])))))}])
>>>>>>> 17d3ad846 (Formatting)
[checked?]))])]))
(defn contact-list-item
-1
View File
@@ -4,7 +4,6 @@
[status-im.test-helpers :as h]
status-im2.subs.contact
[utils.re-frame :as rf]))
(def ^:private contacts-sample-data
{:selected-contacts-count 1
:contacts/contacts {"0xtest" {:last-updated 1672582629695