set max button in dark mode

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
andrey 2020-07-27 14:13:01 +02:00
parent ceb09dc0e7
commit 6c5daaa1c8
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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]