fix icons2

This commit is contained in:
andrey 2022-10-20 15:06:43 +02:00
parent 1aaa9acc80
commit 99bd5d80ea
No known key found for this signature in database
GPG Key ID: C20F2FDE9A98BA61
5 changed files with 7 additions and 8 deletions

View File

@ -7,7 +7,6 @@
(defn icon-source [icon] (defn icon-source [icon]
(if-let [icon (get icons (name icon))] (if-let [icon (get icons (name icon))]
icon icon
#(do (do
(log/error "could not find source for " icon " icon") (log/error "could not find source for " icon " icon")
nil))) nil)))

View File

@ -27,7 +27,7 @@
:label (if (:muted? @state) "Unmute channel" "Mute channel") :label (if (:muted? @state) "Unmute channel" "Mute channel")
:right-icon :main-icons2/chevron-right :right-icon :main-icons2/chevron-right
:sub-label (when (:muted? @state) "Muted for 15 min")} :sub-label (when (:muted? @state) "Muted for 15 min")}
{:icon :main-icons2/scanner {:icon :main-icons2/scan
:right-icon :main-icons2/chevron-right :right-icon :main-icons2/chevron-right
:label "Fetch messages"} :label "Fetch messages"}
{:icon :main-icons2/add-user {:icon :main-icons2/add-user

View File

@ -18,7 +18,7 @@
:on-press #(re-frame/dispatch [::qr-scanner/scan-code :on-press #(re-frame/dispatch [::qr-scanner/scan-code
{:title (i18n/label :t/add-bootnode) {:title (i18n/label :t/add-bootnode)
:handler :bootnodes.callback/qr-code-scanned}])} :handler :bootnodes.callback/qr-code-scanned}])}
:main-icons2/scanner]) :main-icons2/scan])
(defn qr-code [] (defn qr-code []
[quo2.button/button [quo2.button/button

View File

@ -94,7 +94,7 @@
:size 32 :size 32
:style {:margin-right 12} :style {:margin-right 12}
:on-press #(re-frame/dispatch [:bottom-sheet/show-sheet :sort-communities {}])} :on-press #(re-frame/dispatch [:bottom-sheet/show-sheet :sort-communities {}])}
:main-icons2/lightning] :main-icons2/flash]
[quo2.button/button [quo2.button/button
{:icon true {:icon true
:type :outline :type :outline

View File

@ -39,7 +39,7 @@
{:theme (theme/get-theme) {:theme (theme/get-theme)
:title (i18n/label :t/active-members) :title (i18n/label :t/active-members)
:accessibility-label :active-members :accessibility-label :active-members
:icon :main-icons2/lightning :icon :main-icons2/flash
:new-ui? true}] :new-ui? true}]
[quo/list-item [quo/list-item
{:theme (theme/get-theme) {:theme (theme/get-theme)