chore(wallet): clean up root folder (#19417)
This commit is contained in:
parent
28aeb2dad0
commit
e9bbb34797
|
@ -1,4 +1,4 @@
|
||||||
(ns status-im.contexts.wallet.edit-account.style)
|
(ns status-im.contexts.wallet.account.edit-account.style)
|
||||||
|
|
||||||
(def data-item
|
(def data-item
|
||||||
{:margin-horizontal 20
|
{:margin-horizontal 20
|
|
@ -1,10 +1,10 @@
|
||||||
(ns status-im.contexts.wallet.edit-account.view
|
(ns status-im.contexts.wallet.account.edit-account.view
|
||||||
(:require [quo.core :as quo]
|
(:require [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.account.edit-account.style :as style]
|
||||||
[status-im.contexts.wallet.common.screen-base.create-or-edit-account.view
|
[status-im.contexts.wallet.common.screen-base.create-or-edit-account.view
|
||||||
:as create-or-edit-account]
|
:as create-or-edit-account]
|
||||||
[status-im.contexts.wallet.edit-account.style :as style]
|
|
||||||
[status-im.contexts.wallet.sheets.network-preferences.view
|
[status-im.contexts.wallet.sheets.network-preferences.view
|
||||||
:as network-preferences]
|
:as network-preferences]
|
||||||
[status-im.contexts.wallet.sheets.remove-account.view :as remove-account]
|
[status-im.contexts.wallet.sheets.remove-account.view :as remove-account]
|
|
@ -0,0 +1,3 @@
|
||||||
|
(ns status-im.contexts.wallet.account.share-address.style)
|
||||||
|
|
||||||
|
(def header-container {:margin-bottom 8})
|
|
@ -1,4 +1,4 @@
|
||||||
(ns status-im.contexts.wallet.share-address.view
|
(ns status-im.contexts.wallet.account.share-address.view
|
||||||
(:require
|
(:require
|
||||||
[quo.core :as quo]
|
[quo.core :as quo]
|
||||||
[react-native.core :as rn]
|
[react-native.core :as rn]
|
||||||
|
@ -6,8 +6,8 @@
|
||||||
[react-native.safe-area :as safe-area]
|
[react-native.safe-area :as safe-area]
|
||||||
[react-native.share :as share]
|
[react-native.share :as share]
|
||||||
[reagent.core :as reagent]
|
[reagent.core :as reagent]
|
||||||
|
[status-im.contexts.wallet.account.share-address.style :as style]
|
||||||
[status-im.contexts.wallet.common.utils :as utils]
|
[status-im.contexts.wallet.common.utils :as utils]
|
||||||
[status-im.contexts.wallet.share-address.style :as style]
|
|
||||||
[status-im.contexts.wallet.sheets.network-preferences.view :as network-preferences]
|
[status-im.contexts.wallet.sheets.network-preferences.view :as network-preferences]
|
||||||
[utils.i18n :as i18n]
|
[utils.i18n :as i18n]
|
||||||
[utils.image-server :as image-server]
|
[utils.image-server :as image-server]
|
|
@ -1,4 +1,4 @@
|
||||||
(ns status-im.contexts.wallet.scan-account.view
|
(ns status-im.contexts.wallet.common.scan-account.view
|
||||||
(:require [status-im.common.scan-qr-code.view :as scan-qr-code]
|
(:require [status-im.common.scan-qr-code.view :as scan-qr-code]
|
||||||
[status-im.constants :as constants]
|
[status-im.constants :as constants]
|
||||||
[utils.debounce :as debounce]
|
[utils.debounce :as debounce]
|
|
@ -1,16 +0,0 @@
|
||||||
(ns status-im.contexts.wallet.saved-address.view
|
|
||||||
(:require
|
|
||||||
[quo.core :as quo]
|
|
||||||
[re-frame.core :as rf]
|
|
||||||
[react-native.core :as rn]))
|
|
||||||
|
|
||||||
(defn view
|
|
||||||
[]
|
|
||||||
[rn/view
|
|
||||||
{:style {:flex 1
|
|
||||||
:align-items :center
|
|
||||||
:justify-content :center}}
|
|
||||||
|
|
||||||
[quo/text {} "SAVED ADDRESS"]
|
|
||||||
[quo/button {:on-press #(rf/dispatch [:navigate-back])}
|
|
||||||
"NAVIGATE BACK"]])
|
|
|
@ -1,19 +0,0 @@
|
||||||
(ns status-im.contexts.wallet.saved-addresses.view
|
|
||||||
(:require
|
|
||||||
[quo.core :as quo]
|
|
||||||
[re-frame.core :as rf]
|
|
||||||
[react-native.core :as rn]))
|
|
||||||
|
|
||||||
(defn view
|
|
||||||
[]
|
|
||||||
[rn/view
|
|
||||||
{:style {:flex 1
|
|
||||||
:align-items :center
|
|
||||||
:justify-content :center}}
|
|
||||||
|
|
||||||
[quo/text {} "SAVED ADDRESSES"]
|
|
||||||
[quo/button {:on-press #(rf/dispatch [:navigate-to :wallet-saved-address])}
|
|
||||||
"NAVIGATE TO SAVED ADDRESS"]
|
|
||||||
[quo/divider-label]
|
|
||||||
[quo/button {:on-press #(rf/dispatch [:navigate-back])}
|
|
||||||
"NAVIGATE BACK"]])
|
|
|
@ -1,3 +0,0 @@
|
||||||
(ns status-im.contexts.wallet.share-address.style)
|
|
||||||
|
|
||||||
(def header-container {:margin-bottom 8})
|
|
|
@ -55,6 +55,8 @@
|
||||||
[status-im.contexts.syncing.scan-sync-code-page.view :as scan-sync-code-page]
|
[status-im.contexts.syncing.scan-sync-code-page.view :as scan-sync-code-page]
|
||||||
[status-im.contexts.syncing.setup-syncing.view :as settings-setup-syncing]
|
[status-im.contexts.syncing.setup-syncing.view :as settings-setup-syncing]
|
||||||
[status-im.contexts.syncing.syncing-devices-list.view :as settings-syncing]
|
[status-im.contexts.syncing.syncing-devices-list.view :as settings-syncing]
|
||||||
|
[status-im.contexts.wallet.account.edit-account.view :as wallet-edit-account]
|
||||||
|
[status-im.contexts.wallet.account.share-address.view :as wallet-share-address]
|
||||||
[status-im.contexts.wallet.account.view :as wallet-accounts]
|
[status-im.contexts.wallet.account.view :as wallet-accounts]
|
||||||
[status-im.contexts.wallet.add-address-to-watch.confirm-address.view :as
|
[status-im.contexts.wallet.add-address-to-watch.confirm-address.view :as
|
||||||
wallet-confirm-address-to-watch]
|
wallet-confirm-address-to-watch]
|
||||||
|
@ -63,6 +65,7 @@
|
||||||
[status-im.contexts.wallet.bridge.input-amount.view :as wallet-bridge-input-amount]
|
[status-im.contexts.wallet.bridge.input-amount.view :as wallet-bridge-input-amount]
|
||||||
[status-im.contexts.wallet.bridge.select-asset.view :as wallet-bridge-select-asset]
|
[status-im.contexts.wallet.bridge.select-asset.view :as wallet-bridge-select-asset]
|
||||||
[status-im.contexts.wallet.collectible.view :as wallet-collectible]
|
[status-im.contexts.wallet.collectible.view :as wallet-collectible]
|
||||||
|
[status-im.contexts.wallet.common.scan-account.view :as wallet-scan-address]
|
||||||
[status-im.contexts.wallet.create-account.edit-derivation-path.view :as wallet-edit-derivation-path]
|
[status-im.contexts.wallet.create-account.edit-derivation-path.view :as wallet-edit-derivation-path]
|
||||||
[status-im.contexts.wallet.create-account.new-keypair.backup-recovery-phrase.view :as
|
[status-im.contexts.wallet.create-account.new-keypair.backup-recovery-phrase.view :as
|
||||||
wallet-backup-recovery-phrase]
|
wallet-backup-recovery-phrase]
|
||||||
|
@ -71,9 +74,6 @@
|
||||||
[status-im.contexts.wallet.create-account.new-keypair.keypair-name.view :as wallet-keypair-name]
|
[status-im.contexts.wallet.create-account.new-keypair.keypair-name.view :as wallet-keypair-name]
|
||||||
[status-im.contexts.wallet.create-account.select-keypair.view :as wallet-select-keypair]
|
[status-im.contexts.wallet.create-account.select-keypair.view :as wallet-select-keypair]
|
||||||
[status-im.contexts.wallet.create-account.view :as wallet-create-account]
|
[status-im.contexts.wallet.create-account.view :as wallet-create-account]
|
||||||
[status-im.contexts.wallet.edit-account.view :as wallet-edit-account]
|
|
||||||
[status-im.contexts.wallet.saved-addresses.view :as wallet-saved-addresses]
|
|
||||||
[status-im.contexts.wallet.scan-account.view :as wallet-scan-address]
|
|
||||||
[status-im.contexts.wallet.send.save-address.view :as wallet-save-address]
|
[status-im.contexts.wallet.send.save-address.view :as wallet-save-address]
|
||||||
[status-im.contexts.wallet.send.select-address.view :as wallet-select-address]
|
[status-im.contexts.wallet.send.select-address.view :as wallet-select-address]
|
||||||
[status-im.contexts.wallet.send.select-asset.view :as wallet-select-asset]
|
[status-im.contexts.wallet.send.select-asset.view :as wallet-select-asset]
|
||||||
|
@ -81,7 +81,6 @@
|
||||||
[status-im.contexts.wallet.send.send-amount.view :as wallet-send-input-amount]
|
[status-im.contexts.wallet.send.send-amount.view :as wallet-send-input-amount]
|
||||||
[status-im.contexts.wallet.send.transaction-confirmation.view :as wallet-transaction-confirmation]
|
[status-im.contexts.wallet.send.transaction-confirmation.view :as wallet-transaction-confirmation]
|
||||||
[status-im.contexts.wallet.send.transaction-progress.view :as wallet-transaction-progress]
|
[status-im.contexts.wallet.send.transaction-progress.view :as wallet-transaction-progress]
|
||||||
[status-im.contexts.wallet.share-address.view :as wallet-share-address]
|
|
||||||
[status-im.navigation.options :as options]
|
[status-im.navigation.options :as options]
|
||||||
[status-im.navigation.transitions :as transitions]))
|
[status-im.navigation.transitions :as transitions]))
|
||||||
|
|
||||||
|
@ -404,9 +403,6 @@
|
||||||
:options options/transparent-screen-options
|
:options options/transparent-screen-options
|
||||||
:component wallet-share-address/view}
|
:component wallet-share-address/view}
|
||||||
|
|
||||||
{:name :screen/wallet.saved-addresses
|
|
||||||
:component wallet-saved-addresses/view}
|
|
||||||
|
|
||||||
{:name :screen/wallet.save-address
|
{:name :screen/wallet.save-address
|
||||||
:options {:sheet? true}
|
:options {:sheet? true}
|
||||||
:component wallet-save-address/view}
|
:component wallet-save-address/view}
|
||||||
|
|
Loading…
Reference in New Issue