From 56fe8f3763fca884a3c68124f2c338db337efcc9 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Fri, 13 Oct 2017 17:51:46 +0300 Subject: [PATCH] wallet modal android fix --- src/status_im/android/platform.cljs | 4 ++++ src/status_im/ios/platform.cljs | 3 +++ src/status_im/ui/screens/wallet/send/views.cljs | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/status_im/android/platform.cljs b/src/status_im/android/platform.cljs index bf337f2f44..78eddb1a06 100644 --- a/src/status_im/android/platform.cljs +++ b/src/status_im/android/platform.cljs @@ -30,6 +30,10 @@ :modal-white {:height 0 :bar-style "light-content" :color styles/color-black} + ;;TODO because this bug in RN https://github.com/facebook/react-native/issues/7474 + :modal-wallet {:height 0 + :bar-style "light-content" + :color styles/color-black} :transaction {:height 0 :bar-style "light-content" :color styles/color-dark-blue-2} diff --git a/src/status_im/ios/platform.cljs b/src/status_im/ios/platform.cljs index f2fec28c52..c649a33c4b 100644 --- a/src/status_im/ios/platform.cljs +++ b/src/status_im/ios/platform.cljs @@ -30,6 +30,9 @@ :transaction {:height 20 :bar-style "light-content" :color styles/color-transparent} + :modal-wallet {:height 20 + :bar-style "light-content" + :color styles/color-blue4} :wallet {:height 20 :bar-style "light-content" :color styles/color-blue4}} diff --git a/src/status_im/ui/screens/wallet/send/views.cljs b/src/status_im/ui/screens/wallet/send/views.cljs index 1861afebe7..8cbedcccc3 100644 --- a/src/status_im/ui/screens/wallet/send/views.cljs +++ b/src/status_im/ui/screens/wallet/send/views.cljs @@ -162,7 +162,7 @@ from-chat? [:get-in [:wallet/send-transaction :from-chat?]]] [react/keyboard-avoiding-view wallet.styles/wallet-modal-container [react/view components.styles/flex - [status-bar/status-bar {:type :wallet}] + [status-bar/status-bar {:type :modal-wallet}] [toolbar-modal from-chat?] [react/scroll-view {:keyboardShouldPersistTaps :always} [react/view components.styles/flex