[#10722] Change learn about keycard link

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Roman Volosovskyi 2020-06-04 11:21:22 +03:00 committed by Andrey Shovkoplyas
parent fd8558421d
commit dae891979f
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
5 changed files with 5 additions and 4 deletions

View File

@ -288,3 +288,4 @@
(def faq "https://status.im/faq/") (def faq "https://status.im/faq/")
(def faq-keycard (str faq "#keycard")) (def faq-keycard (str faq "#keycard"))
(def keycard-integration-link "https://status.im/keycard-integration")

View File

@ -83,7 +83,7 @@
(fx/defn recovery-phrase-learn-more-pressed (fx/defn recovery-phrase-learn-more-pressed
{:events [:keycard.onboarding.recovery-phrase.ui/learn-more-pressed]} {:events [:keycard.onboarding.recovery-phrase.ui/learn-more-pressed]}
[_] [_]
(.openURL ^js react/linking constants/faq-keycard)) (.openURL ^js react/linking constants/keycard-integration-link))
(fx/defn recovery-phrase-next-pressed (fx/defn recovery-phrase-next-pressed
{:events [:keycard.onboarding.recovery-phrase.ui/next-pressed {:events [:keycard.onboarding.recovery-phrase.ui/next-pressed

View File

@ -45,7 +45,7 @@
(i18n/label :t/keycard-onboarding-intro-text)]] (i18n/label :t/keycard-onboarding-intro-text)]]
[react/view [react/view
[react/touchable-highlight {:on-press #(.openURL ^js react/linking [react/touchable-highlight {:on-press #(.openURL ^js react/linking
constants/faq-keycard)} constants/keycard-integration-link)}
[react/view {:flex-direction :row [react/view {:flex-direction :row
:align-items :center :align-items :center
:justify-content :center} :justify-content :center}

View File

@ -43,7 +43,7 @@
(i18n/label :t/keycard-recovery-intro-text)]] (i18n/label :t/keycard-recovery-intro-text)]]
[react/view {:margin-top 33} [react/view {:margin-top 33}
[react/touchable-highlight {:on-press #(.openURL ^js react/linking [react/touchable-highlight {:on-press #(.openURL ^js react/linking
constants/faq-keycard)} constants/keycard-integration-link)}
[react/view {:flex-direction :row [react/view {:flex-direction :row
:align-items :center :align-items :center
:justify-content :center} :justify-content :center}

View File

@ -175,7 +175,7 @@
:height 120}}] :height 120}}]
[react/view {:margin-top 40} [react/view {:margin-top 40}
[react/touchable-highlight {:on-press #(.openURL ^js react/linking [react/touchable-highlight {:on-press #(.openURL ^js react/linking
constants/faq-keycard)} constants/keycard-integration-link)}
[react/view {:flex-direction :row [react/view {:flex-direction :row
:align-items :center :align-items :center
:justify-content :center} :justify-content :center}