From b2bc7ac3b7ddd60e5bf44e1df7589d2b4b152ffe Mon Sep 17 00:00:00 2001 From: Alexander Pantyuhov Date: Thu, 13 Oct 2016 23:57:15 +0300 Subject: [PATCH] Toolbar with dark content (#344) Former-commit-id: 5ffa5e073f400f858842856a293fa53c7ac8d4cf --- package.json | 2 +- src/status_im/android/platform.cljs | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index eb23e34214..94e7efee8b 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "querystring-es3": "^0.2.1", "re-natal": "0.2.38", "react": "^15.3.1", - "react-native": "^0.34.0", + "react-native": "^0.36.0", "react-native-action-button": "^1.1.11", "react-native-android-sms-listener": "github:adrian-tiberius/react-native-android-sms-listener#listener-bugfix", "react-native-camera": "git+https://github.com/lwansbrough/react-native-camera.git", diff --git a/src/status_im/android/platform.cljs b/src/status_im/android/platform.cljs index 0c21c619b5..46b65910fc 100644 --- a/src/status_im/android/platform.cljs +++ b/src/status_im/android/platform.cljs @@ -1,16 +1,17 @@ (ns status-im.android.platform (:require [status-im.components.styles :as styles] - [status-im.utils.utils :as u])) + [status-im.utils.utils :as u] + [status-im.components.toolbar.styles :refer [toolbar-background2]])) (def component-styles {:status-bar {:default {:height 0 - :bar-style "default" - :color styles/color-gray} + :bar-style "dark-content" + :color styles/color-white} :main {:height 0 - :bar-style "default" - :color styles/color-gray} + :bar-style "dark-content" + :color toolbar-background2} :transparent {:height 20 - :bar-style "default" + :bar-style "light-content" :translucent? true :color styles/color-transparent}} :chat {:new-message {:border-top-color styles/color-transparent