[#10860] Rename and move Access keys in onboarding

This commit is contained in:
andrey 2020-06-30 16:28:40 +02:00
parent dfb8420353
commit 9619a0a204
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
4 changed files with 11 additions and 8 deletions

View File

@ -37,13 +37,9 @@
:title :intro-title3
:text :intro-text3}] window-height view-id]
[react/view styles/buttons-container
[components.common/button {:button-style (assoc styles/bottom-button :margin-bottom 16)
[components.common/button {:button-style (assoc styles/bottom-button :margin-bottom 24)
:on-press #(re-frame/dispatch [:multiaccounts.create.ui/intro-wizard])
:label (i18n/label :t/get-started)}]
[components.common/button {:button-style (assoc styles/bottom-button :margin-bottom 24)
:on-press #(re-frame/dispatch [:multiaccounts.recover.ui/recover-multiaccount-button-pressed])
:label (i18n/label :t/access-key)
:background? false}]
[react/nested-text
{:style styles/welcome-text-bottom-note}
(i18n/label :t/intro-privacy-policy-note1)
@ -247,7 +243,13 @@
(and (= step :create-code) weak-password?)
(and (= step :enter-phrase) next-button-disabled?))
:forward? true}]]])
(when (and (= :generate-key step) (not processing?))
[components.common/button
{:button-style (assoc styles/bottom-button :margin-top 8)
:on-press #(re-frame/dispatch
[:multiaccounts.recover.ui/recover-multiaccount-button-pressed])
:label (i18n/label :t/access-existing-keys)
:background? false}])
(when (or (= :generate-key step) (and processing? (= :recovery-success step)))
[react/text {:style (assoc styles/wizard-text :margin-top 20)}
(i18n/label (cond (= :recovery-success step)

View File

@ -94,7 +94,7 @@
[react/i18n-text {:style styles/processing :key :processing}]])
[react/view {:style (styles/bottom-button-container)}
[components.common/button
{:label (i18n/label :t/access-key)
{:label (i18n/label :t/access-existing-keys)
:button-style styles/bottom-button
:background? false
:on-press #(do

View File

@ -62,4 +62,4 @@
[react/view {:style (styles/bottom-button-container)}
[button/button {:on-press #(re-frame/dispatch [:multiaccounts.recover.ui/recover-multiaccount-button-pressed])
:type :secondary
:label (i18n/label :t/access-key)}]]]]))
:label (i18n/label :t/access-existing-keys)}]]]]))

View File

@ -5,6 +5,7 @@
"about-names-content": "No one can pretend to be you! Youre anonymous by default and never have to reveal your real name. You can register a custom name for a small fee.",
"about-names-title": "Names cant be changed",
"access-key": "Access key",
"access-existing-keys": "Access existing keys",
"accept-and-share-address": "Accept and share address",
"account-added": "Account added",
"account-color": "Account color",