From 7ad49c3670bf7a7cf747fd48149bf828183c61a3 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Mon, 20 Apr 2020 13:23:07 +0200 Subject: [PATCH] [#10366] App Dark mode: signing phrase+message not visible when Signing message in Dapps Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/signing/styles.cljs | 2 +- src/status_im/ui/screens/signing/views.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/ui/screens/signing/styles.cljs b/src/status_im/ui/screens/signing/styles.cljs index f96077a577..40f51da816 100644 --- a/src/status_im/ui/screens/signing/styles.cljs +++ b/src/status_im/ui/screens/signing/styles.cljs @@ -18,7 +18,7 @@ :padding-right 24 :margin-bottom 19}) -(def message +(defn message [] {:background-color colors/white :border-top-right-radius 16 :border-top-left-radius 16 diff --git a/src/status_im/ui/screens/signing/views.cljs b/src/status_im/ui/screens/signing/views.cljs index d90bf1d09c..109eae6f5d 100644 --- a/src/status_im/ui/screens/signing/views.cljs +++ b/src/status_im/ui/screens/signing/views.cljs @@ -263,7 +263,7 @@ small-screen? [:dimensions/small-screen?]] (if (= type :pinless) [signature-request sign small-screen?] - [react/view styles/message + [react/view (styles/message) [react/view styles/message-header [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])}