From 7e9565c7e364a374165eef2e1817a8441c179cb6 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Wed, 6 Mar 2019 11:05:19 +0200 Subject: [PATCH] Fix default background on iOS --- src/status_im/ui/screens/routing/core.cljs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/status_im/ui/screens/routing/core.cljs b/src/status_im/ui/screens/routing/core.cljs index 097b0bdd47..2ab29ab657 100644 --- a/src/status_im/ui/screens/routing/core.cljs +++ b/src/status_im/ui/screens/routing/core.cljs @@ -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