[#10366] App Dark mode: signing phrase+message not visible when Signing message in Dapps

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-04-20 13:23:07 +02:00
parent 5380fcd68f
commit 7ad49c3670
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
:padding-right 24 :padding-right 24
:margin-bottom 19}) :margin-bottom 19})
(def message (defn message []
{:background-color colors/white {:background-color colors/white
:border-top-right-radius 16 :border-top-right-radius 16
:border-top-left-radius 16 :border-top-left-radius 16

View File

@ -263,7 +263,7 @@
small-screen? [:dimensions/small-screen?]] small-screen? [:dimensions/small-screen?]]
(if (= type :pinless) (if (= type :pinless)
[signature-request sign small-screen?] [signature-request sign small-screen?]
[react/view styles/message [react/view (styles/message)
[react/view styles/message-header [react/view styles/message-header
[react/text {:style {:typography :title-bold}} (i18n/label :t/signing-a-message)] [react/text {:style {:typography :title-bold}} (i18n/label :t/signing-a-message)]
[react/touchable-highlight {:on-press #(re-frame/dispatch [:signing.ui/cancel-is-pressed])} [react/touchable-highlight {:on-press #(re-frame/dispatch [:signing.ui/cancel-is-pressed])}