[#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:
parent
fd0a328106
commit
3d1a1c5be9
|
@ -258,23 +258,22 @@
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(defn- agreement [checked contract]
|
(defn- agreement [checked contract]
|
||||||
[react/view {:flex-direction :row
|
[react/view {:flex-direction :row
|
||||||
:margin-left 26 ;; 10 for checkbox + 16
|
:margin-left 26 ;; 10 for checkbox + 16
|
||||||
:margin-right 16
|
:margin-right 16
|
||||||
:margin-top 14
|
:margin-top 14
|
||||||
:align-items :flex-start
|
:align-items :flex-start
|
||||||
:justify-content :center}
|
:justify-content :center}
|
||||||
[checkbox/checkbox {:checked? @checked
|
[checkbox/checkbox {:checked? @checked
|
||||||
:style {:padding 0}
|
:style {:padding 0}
|
||||||
:on-value-change #(reset! checked %)}]
|
:on-value-change #(reset! checked %)}]
|
||||||
[react/view {:style {:padding-left 10}}
|
[react/nested-text {:style {:margin-left 10}}
|
||||||
[react/view {:style {:flex-direction :row}}
|
(i18n/label :t/ens-agree-to)
|
||||||
[react/text
|
[{:style {:color colors/blue}
|
||||||
(i18n/label :t/ens-agree-to)]
|
:on-press #(re-frame/dispatch [:navigate-to :ens-terms {:contract contract}])}
|
||||||
[link {:on-press #(re-frame/dispatch [:navigate-to :ens-terms {:contract contract}])}
|
(i18n/label :t/ens-terms-registration)]
|
||||||
(i18n/label :t/ens-terms-registration)]]
|
"\n"
|
||||||
[react/text
|
(i18n/label :t/ens-understand)]])
|
||||||
(i18n/label :t/ens-understand)]]])
|
|
||||||
|
|
||||||
(defn- registration-bottom-bar
|
(defn- registration-bottom-bar
|
||||||
[checked? amount-label]
|
[checked? amount-label]
|
||||||
|
|
Loading…
Reference in New Issue