Skip to content

Commit

Permalink
navigation bar buttons style - currently doesnt work with two buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
briansztamfater committed May 17, 2022
1 parent a7ffddd commit 23cc07f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/status_im/ui/screens/screens.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@

(defn right-button-options [id icon]
{:id id
:icon (icons/icon-source icon)})
:icon (icons/icon-source icon)
:iconBackground {:color "#EDF2F4"
:cornerRadius 10
:width 32
:height 32}})

(def screens
(concat [;;INTRO, ONBOARDING, LOGIN
Expand Down Expand Up @@ -228,7 +232,8 @@
:options {:popGesture false
:topBar {:title {:component {:name :chat-toolbar :id :chat-toolbar}
:alignment :fill}
:rightButtons (right-button-options :chat :more)}}
:rightButtons [(right-button-options :chat-search :search)
(right-button-options :chat :more)]}}
:right-handler chat/topbar-button
:component chat/chat}
;; :component #(stack-with-switcher/overlap-stack chat/chat :chat)}
Expand Down

0 comments on commit 23cc07f

Please sign in to comment.