set max button in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
ceb09dc0e7
commit
6c5daaa1c8
|
@ -14,7 +14,7 @@
|
||||||
:padding-top (when-not small-screen? 16)
|
:padding-top (when-not small-screen? 16)
|
||||||
:padding-left 16})
|
:padding-left 16})
|
||||||
|
|
||||||
(def set-max-button
|
(defn set-max-button []
|
||||||
{:height 35
|
{:height 35
|
||||||
:border-radius 40
|
:border-radius 40
|
||||||
:background-color colors/blue-light
|
:background-color colors/blue-light
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
{:on-press
|
{:on-press
|
||||||
#(when token
|
#(when token
|
||||||
(re-frame/dispatch [:wallet.send/set-max-amount token]))}
|
(re-frame/dispatch [:wallet.send/set-max-amount token]))}
|
||||||
[react/view {:style styles/set-max-button}
|
[react/view {:style (styles/set-max-button)}
|
||||||
[react/text {:style {:color colors/blue}} (i18n/label :t/set-max)]]])
|
[react/text {:style {:color colors/blue}} (i18n/label :t/set-max)]]])
|
||||||
|
|
||||||
(defn fiat-value [amount {:keys [symbol]} prices wallet-currency]
|
(defn fiat-value [amount {:keys [symbol]} prices wallet-currency]
|
||||||
|
|
Loading…
Reference in New Issue