diff --git a/src/quo2/components/drawers/action_drawers/style.cljs b/src/quo2/components/drawers/action_drawers/style.cljs index 3f2c79a229..22ea1d7ea6 100644 --- a/src/quo2/components/drawers/action_drawers/style.cljs +++ b/src/quo2/components/drawers/action_drawers/style.cljs @@ -23,10 +23,11 @@ :margin-horizontal 12 :flex-direction :row}) -(def left-icon +(defn left-icon + [sub-label?] {:height 20 - :margin-top :auto - :margin-bottom :auto + :margin-top (if sub-label? 10 :auto) + :margin-bottom (when-not sub-label? :auto) :margin-right 12 :width 20}) diff --git a/src/quo2/components/drawers/action_drawers/view.cljs b/src/quo2/components/drawers/action_drawers/view.cljs index 29513d4103..5eeb3236be 100644 --- a/src/quo2/components/drawers/action_drawers/view.cljs +++ b/src/quo2/components/drawers/action_drawers/view.cljs @@ -51,7 +51,7 @@ [rn/view {:accessibility-label :left-icon-for-action :accessible true - :style style/left-icon} + :style (style/left-icon sub-label)} [icon/icon icon {:color (or icon-color (get-icon-color danger? theme)) :size 20}]] diff --git a/src/status_im2/common/home/actions/view.cljs b/src/status_im2/common/home/actions/view.cljs index 511e50b8d6..75843f6521 100644 --- a/src/status_im2/common/home/actions/view.cljs +++ b/src/status_im2/common/home/actions/view.cljs @@ -189,7 +189,7 @@ (defn view-profile-entry [chat-id] - (entry {:icon :i/friend + (entry {:icon :i/profile :label (i18n/label :t/view-profile) :on-press #(show-profile-action chat-id) :danger? false