[#10494] Tapping on "Back up your seed phrase" from wallet doesn't open back up seed phrase flor

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-05-07 10:20:47 +02:00
parent a7c8f27b51
commit 488d59a448
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 7 additions and 6 deletions

View File

@ -37,7 +37,8 @@
:icon :main-icons/security
:accessibility-label :wallet-backup-recovery-title
:on-press #(hide-sheet-and-dispatch
[:navigate-to :backup-seed])}])]))
[:navigate-to :profile-stack {:screen :backup-seed
:initial false}])}])]))
(defn send-receive [account type]
[react/view

View File

@ -131,13 +131,12 @@
portfolio-value [:portfolio-value]
empty-balances? [:empty-balances?]
{:keys [mnemonic]} [:multiaccount]]
[reanimated/view {:style (styles/container {:minimized minimized})
:pointer-events :none}
[reanimated/view {:style (styles/container {:minimized minimized})}
(when (and mnemonic minimized (not empty-balances?))
[reanimated/view {:style (styles/accounts-mnemonic {:animation animation})}
[react/touchable-highlight
{:on-press #(re-frame/dispatch [:navigate-to :backup-seed])}
{:on-press #(re-frame/dispatch [:navigate-to :profile-stack {:screen :backup-seed
:initial false}])}
[react/view {:flex-direction :row :align-items :center}
[react/view {:width 14
:height 14
@ -155,7 +154,8 @@
(i18n/label :t/back-up-your-seed-phrase)]]]])
[reanimated/view {:style (styles/value-container {:minimized minimized
:animation animation})}
:animation animation})
:pointer-events :none}
[reanimated/view {:style {:justify-content :center}}
[quo/text {:animated? true
:weight :semi-bold