Fix default background on iOS
This commit is contained in:
parent
54a364a78f
commit
7e9565c7e3
|
@ -73,10 +73,9 @@
|
||||||
(nav-reagent/stack-navigator
|
(nav-reagent/stack-navigator
|
||||||
routes
|
routes
|
||||||
(cond->
|
(cond->
|
||||||
(merge {:headerMode "none"}
|
(merge {:headerMode "none"
|
||||||
(prepare-config config))
|
:cardStyle {:backgroundColor (when platform/ios? :white)}}
|
||||||
platform/android?
|
(prepare-config config)))))
|
||||||
(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