Fix default background on iOS

This commit is contained in:
Roman Volosovskyi 2019-03-06 11:05:19 +02:00
parent 54a364a78f
commit 7e9565c7e3
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 3 additions and 4 deletions

View File

@ -73,10 +73,9 @@
(nav-reagent/stack-navigator
routes
(cond->
(merge {:headerMode "none"}
(prepare-config config))
platform/android?
(assoc :cardStyle {:backgroundColor nil}))))
(merge {:headerMode "none"
:cardStyle {:backgroundColor (when platform/ios? :white)}}
(prepare-config config)))))
(defn switch-navigator [routes config]
(nav-reagent/switch-navigator