bug #3775 - fixed missing dapp descriptions

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Goran Jovic 2018-04-10 08:49:26 +02:00 committed by Andrey Shovkoplyas
parent ec272af78d
commit 77e6f45576
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@
:keyboardShouldPersistTaps :always}]]))
(views/defview dapp-description []
(views/letsubs [{:keys [name dapp-url] :as dapp} [:get-screen-params]]
(views/letsubs [{:keys [name dapp-url description] :as dapp} [:get-screen-params]]
[react/keyboard-avoiding-view styles/main-container
[status-bar/status-bar]
[toolbar.view/simple-toolbar]
@ -70,7 +70,8 @@
[react/view styles/description-container
[react/text {:style styles/gray-label}
(i18n/label :t/description)]
[react/text {:style (merge styles/black-label {:padding-top 18})}]
[react/text {:style (merge styles/black-label {:padding-top 18})}
description]
[components/separator {:margin-top 15}]
[react/text {:style (merge styles/gray-label {:padding-top 18})}
(i18n/label :t/url)]