Reduce overdraw in bottom bar
This commit is contained in:
parent
10cc181335
commit
d40b71a4fe
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue