[#10077] Can't accept agreement on ENS registration when app translated into French

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-03-31 15:11:54 +02:00
parent fd0a328106
commit 3d1a1c5be9
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 12 additions and 13 deletions

View File

@ -267,14 +267,13 @@
[checkbox/checkbox {:checked? @checked
:style {:padding 0}
:on-value-change #(reset! checked %)}]
[react/view {:style {:padding-left 10}}
[react/view {:style {:flex-direction :row}}
[react/text
(i18n/label :t/ens-agree-to)]
[link {:on-press #(re-frame/dispatch [:navigate-to :ens-terms {:contract contract}])}
(i18n/label :t/ens-terms-registration)]]
[react/text
(i18n/label :t/ens-understand)]]])
[react/nested-text {:style {:margin-left 10}}
(i18n/label :t/ens-agree-to)
[{:style {:color colors/blue}
:on-press #(re-frame/dispatch [:navigate-to :ens-terms {:contract contract}])}
(i18n/label :t/ens-terms-registration)]
"\n"
(i18n/label :t/ens-understand)]])
(defn- registration-bottom-bar
[checked? amount-label]