wallet modal android fix

This commit is contained in:
Andrey Shovkoplyas 2017-10-13 17:51:46 +03:00 committed by Roman Volosovskyi
parent 12080ba4d8
commit 56fe8f3763
3 changed files with 8 additions and 1 deletions

View File

@ -30,6 +30,10 @@
:modal-white {:height 0 :modal-white {:height 0
:bar-style "light-content" :bar-style "light-content"
:color styles/color-black} :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 :transaction {:height 0
:bar-style "light-content" :bar-style "light-content"
:color styles/color-dark-blue-2} :color styles/color-dark-blue-2}

View File

@ -30,6 +30,9 @@
:transaction {:height 20 :transaction {:height 20
:bar-style "light-content" :bar-style "light-content"
:color styles/color-transparent} :color styles/color-transparent}
:modal-wallet {:height 20
:bar-style "light-content"
:color styles/color-blue4}
:wallet {:height 20 :wallet {:height 20
:bar-style "light-content" :bar-style "light-content"
:color styles/color-blue4}} :color styles/color-blue4}}

View File

@ -162,7 +162,7 @@
from-chat? [:get-in [:wallet/send-transaction :from-chat?]]] from-chat? [:get-in [:wallet/send-transaction :from-chat?]]]
[react/keyboard-avoiding-view wallet.styles/wallet-modal-container [react/keyboard-avoiding-view wallet.styles/wallet-modal-container
[react/view components.styles/flex [react/view components.styles/flex
[status-bar/status-bar {:type :wallet}] [status-bar/status-bar {:type :modal-wallet}]
[toolbar-modal from-chat?] [toolbar-modal from-chat?]
[react/scroll-view {:keyboardShouldPersistTaps :always} [react/scroll-view {:keyboardShouldPersistTaps :always}
[react/view components.styles/flex [react/view components.styles/flex