[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…
Reference in New Issue