Reduce overdraw in bottom bar

This commit is contained in:
Roman Volosovskyi 2019-03-20 09:50:37 +02:00
parent 10cc181335
commit d40b71a4fe
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
(:require [status-im.ui.components.colors :as colors] (:require [status-im.ui.components.colors :as colors]
[status-im.utils.platform :as platform] [status-im.utils.platform :as platform]
[status-im.ui.components.animation :as animation]) [status-im.ui.components.animation :as animation])
(:require-macros [status-im.utils.styles :refer [defnstyle]])) (:require-macros [status-im.utils.styles :refer [defnstyle defstyle]]))
(def tabs-height (def tabs-height
(cond (cond
@ -79,14 +79,14 @@
{:color (if active? colors/blue colors/gray) {:color (if active? colors/blue colors/gray)
:font-size 11}) :font-size 11})
(def new-tabs-container (defstyle new-tabs-container
{:height tabs-height {:height tabs-height
:align-self :stretch :align-self :stretch
:background-color :white :ios {:background-color :white
:shadow-radius 4 :shadow-radius 4
:shadow-offset {:width 0 :height -5} :shadow-offset {:width 0 :height -5}
:shadow-opacity 0.3 :shadow-opacity 0.3
:shadow-color "rgba(0, 9, 26, 0.12)"}) :shadow-color "rgba(0, 9, 26, 0.12)"}})
(def tabs (def tabs
{:height tabs-height {:height tabs-height