remove white line on android wallet screen

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
yenda 2019-03-21 17:31:51 +01:00 committed by Jakub Sokołowski
parent fe76457609
commit d63b16b138
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

View File

@ -1,4 +1,4 @@
(ns status-im.ui.screens.wallet.main.views
(ns status-im.ui.screens.wallet.main.views
(:require-macros [status-im.utils.views :as views])
(:require [reagent.core :as reagent]
[re-frame.core :as re-frame]
@ -170,6 +170,11 @@
(if error-message
[snackbar error-message]
[total-section portfolio-value currency])
;; this view is a hack to hide the 1px high white line gap on android
(when platform/android?
[react/view {:style {:background-color colors/blue
:height 1
:margin -1}}])
(when (and (not modal?)
(not seed-backed-up?)
(some (fn [{:keys [amount]}]