[#9723] No 'Apply' button appears when updating "Wallet"-> "Account"-> "Account settings"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
c66e848255
commit
5501d20450
|
@ -30,12 +30,13 @@
|
|||
icon
|
||||
[icons/icon icon]
|
||||
label
|
||||
[react/text {:style {:color colors/blue}} label])]]))
|
||||
[react/text {:style {:color colors/blue}}
|
||||
(utils.label/stringify label)])]]))
|
||||
|
||||
(defn topbar [& [{:keys [title navigation accessories show-border? modal?]}]]
|
||||
(let [navigation (or navigation (default-navigation modal?))
|
||||
title-padding (reagent/atom 16)]
|
||||
(fn [_]
|
||||
(defn topbar [_]
|
||||
(let [title-padding (reagent/atom 16)]
|
||||
(fn [& [{:keys [title navigation accessories show-border? modal?]}]]
|
||||
(let [navigation (or navigation (default-navigation modal?))]
|
||||
[react/view (cond-> {:height 56 :align-items :center :flex-direction :row}
|
||||
show-border?
|
||||
(assoc :border-bottom-width 1 :border-bottom-color colors/gray-lighter))
|
||||
|
@ -52,4 +53,4 @@
|
|||
[react/view {:position :absolute :left @title-padding :right @title-padding
|
||||
:top 0 :bottom 0 :align-items :center :justify-content :center}
|
||||
[react/text {:style {:typography :title-bold :text-align :center} :number-of-lines 2}
|
||||
(utils.label/stringify title)]])])))
|
||||
(utils.label/stringify title)]])]))))
|
Loading…
Reference in New Issue