mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
[reduce overdraw] Remove stack card background on Android
This commit is contained in:
parent
fd59e76603
commit
d7009cbd28
@ -72,7 +72,11 @@
|
|||||||
(defn stack-navigator [routes config]
|
(defn stack-navigator [routes config]
|
||||||
(nav-reagent/stack-navigator
|
(nav-reagent/stack-navigator
|
||||||
routes
|
routes
|
||||||
(merge {:headerMode "none"} (prepare-config config))))
|
(cond->
|
||||||
|
(merge {:headerMode "none"}
|
||||||
|
(prepare-config config))
|
||||||
|
platform/android?
|
||||||
|
(assoc :cardStyle {:backgroundColor nil}))))
|
||||||
|
|
||||||
(defn switch-navigator [routes config]
|
(defn switch-navigator [routes config]
|
||||||
(nav-reagent/switch-navigator
|
(nav-reagent/switch-navigator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user