chore: rename backup screen (#20077)

chore: rename backup screen (#20077)
This commit is contained in:
Omar Basem 2024-05-20 09:29:15 +04:00 committed by GitHub
parent d558c565b0
commit eb1db20161
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 10 deletions

View File

@ -27,7 +27,7 @@
{:db (-> db {:db (-> db
(assoc-in [:wallet :ui :create-account :seed-phrase] seed-phrase) (assoc-in [:wallet :ui :create-account :seed-phrase] seed-phrase)
(assoc-in [:wallet :ui :create-account :random-phrase] random-phrase)) (assoc-in [:wallet :ui :create-account :random-phrase] random-phrase))
:fx [[:dispatch-later [{:ms 20 :dispatch [:navigate-to :screen/wallet.check-your-backup]}]]]}) :fx [[:dispatch-later [{:ms 20 :dispatch [:navigate-to :screen/wallet.confirm-backup]}]]]})
(rf/reg-event-fx :wallet/store-seed-phrase store-seed-phrase) (rf/reg-event-fx :wallet/store-seed-phrase store-seed-phrase)

View File

@ -1,4 +1,4 @@
(ns status-im.contexts.wallet.add-account.create-account.new-keypair.check-your-backup.style) (ns status-im.contexts.wallet.add-account.create-account.new-keypair.confirm-backup.style)
(def header-container (def header-container
{:margin-horizontal 20 {:margin-horizontal 20

View File

@ -1,9 +1,9 @@
(ns status-im.contexts.wallet.add-account.create-account.new-keypair.check-your-backup.view (ns status-im.contexts.wallet.add-account.create-account.new-keypair.confirm-backup.view
(:require (:require
[quo.core :as quo] [quo.core :as quo]
[react-native.core :as rn] [react-native.core :as rn]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im.contexts.wallet.add-account.create-account.new-keypair.check-your-backup.style :as style] [status-im.contexts.wallet.add-account.create-account.new-keypair.confirm-backup.style :as style]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf] [utils.re-frame :as rf]
[utils.security.core :as security])) [utils.security.core :as security]))
@ -95,7 +95,7 @@
:on-press #(rf/dispatch [:navigate-back]) :on-press #(rf/dispatch [:navigate-back])
:accessibility-label :top-bar}] :accessibility-label :top-bar}]
[quo/page-top [quo/page-top
{:title (i18n/label :t/check-your-backup) {:title (i18n/label :t/confirm-backup)
:description :text :description :text
:description-text (i18n/label :t/confirm-the-position)}] :description-text (i18n/label :t/confirm-the-position)}]
[rn/flat-list [rn/flat-list

View File

@ -85,8 +85,8 @@
wallet-key-pair-name] wallet-key-pair-name]
[status-im.contexts.wallet.add-account.create-account.new-keypair.backup-recovery-phrase.view :as [status-im.contexts.wallet.add-account.create-account.new-keypair.backup-recovery-phrase.view :as
wallet-backup-recovery-phrase] wallet-backup-recovery-phrase]
[status-im.contexts.wallet.add-account.create-account.new-keypair.check-your-backup.view :as [status-im.contexts.wallet.add-account.create-account.new-keypair.confirm-backup.view :as
wallet-check-your-backup] wallet-confirm-backup]
[status-im.contexts.wallet.add-account.create-account.select-keypair.view :as wallet-select-keypair] [status-im.contexts.wallet.add-account.create-account.select-keypair.view :as wallet-select-keypair]
[status-im.contexts.wallet.add-account.create-account.view :as wallet-create-account] [status-im.contexts.wallet.add-account.create-account.view :as wallet-create-account]
[status-im.contexts.wallet.bridge.bridge-to.view :as wallet-bridge-to] [status-im.contexts.wallet.bridge.bridge-to.view :as wallet-bridge-to]
@ -430,9 +430,9 @@
:options {:insets {:top? true :bottom? true}} :options {:insets {:top? true :bottom? true}}
:component wallet-backup-recovery-phrase/view} :component wallet-backup-recovery-phrase/view}
{:name :screen/wallet.check-your-backup {:name :screen/wallet.confirm-backup
:options {:insets {:top? true :bottom? true}} :options {:insets {:top? true :bottom? true}}
:component wallet-check-your-backup/view} :component wallet-confirm-backup/view}
{:name :screen/wallet.keypair-name {:name :screen/wallet.keypair-name
:options {:insets {:top? true}} :options {:insets {:top? true}}

View File

@ -2557,7 +2557,7 @@
"watched-account-removed": "Watched address has been removed", "watched-account-removed": "Watched address has been removed",
"account-removed": "Account has been removed", "account-removed": "Account has been removed",
"share-address-title": "{{address}} address", "share-address-title": "{{address}} address",
"check-your-backup": "Check your backup", "confirm-backup": "Confirm backup",
"confirm-the-position": "Confirm the position of certain words in your recovery phrase", "confirm-the-position": "Confirm the position of certain words in your recovery phrase",
"do-not-cheat": "Don't try to cheat", "do-not-cheat": "Don't try to cheat",
"do-not-cheat-description": "These 12 words give access to all of your funds so it is important that you write them in the correct order, take it seriously.", "do-not-cheat-description": "These 12 words give access to all of your funds so it is important that you write them in the correct order, take it seriously.",