[#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
|
icon
|
||||||
[icons/icon icon]
|
[icons/icon icon]
|
||||||
label
|
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?]}]]
|
(defn topbar [_]
|
||||||
(let [navigation (or navigation (default-navigation modal?))
|
(let [title-padding (reagent/atom 16)]
|
||||||
title-padding (reagent/atom 16)]
|
(fn [& [{:keys [title navigation accessories show-border? modal?]}]]
|
||||||
(fn [_]
|
(let [navigation (or navigation (default-navigation modal?))]
|
||||||
[react/view (cond-> {:height 56 :align-items :center :flex-direction :row}
|
[react/view (cond-> {:height 56 :align-items :center :flex-direction :row}
|
||||||
show-border?
|
show-border?
|
||||||
(assoc :border-bottom-width 1 :border-bottom-color colors/gray-lighter))
|
(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
|
[react/view {:position :absolute :left @title-padding :right @title-padding
|
||||||
:top 0 :bottom 0 :align-items :center :justify-content :center}
|
:top 0 :bottom 0 :align-items :center :justify-content :center}
|
||||||
[react/text {:style {:typography :title-bold :text-align :center} :number-of-lines 2}
|
[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