FINAL BOSS! rename status-im2 to status-im (#18241)

This commit is contained in:
flexsurfer 2023-12-19 20:59:07 +01:00 committed by GitHub
parent f89fd8ca54
commit 602b27105b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
776 changed files with 2262 additions and 2261 deletions

View File

@ -1,7 +1,7 @@
legacy.status-im.utils.build/warning-handler legacy.status-im.utils.build/warning-handler
legacy.status-im.utils.build/get-current-sha legacy.status-im.utils.build/get-current-sha
status-im2.constants/spacing-char status-im.constants/spacing-char
status-im2.constants/arg-wrapping-char status-im.constants/arg-wrapping-char
legacy.status-im.ios.core/init legacy.status-im.ios.core/init
legacy.status-im.ui.components.camera/aspects legacy.status-im.ui.components.camera/aspects
legacy.status-im.ui.components.camera/capture-targets legacy.status-im.ui.components.camera/capture-targets
@ -46,8 +46,8 @@ legacy.status-im.utils.handlers/logged-in
legacy.status-im.multiaccounts.model/credentials legacy.status-im.multiaccounts.model/credentials
legacy.status-im.multiaccounts.login.core/contract-fleet? legacy.status-im.multiaccounts.login.core/contract-fleet?
legacy.status-im.multiaccounts.login.core/fetch-nodes legacy.status-im.multiaccounts.login.core/fetch-nodes
status-im2.config/rpc-networks-only? status-im.config/rpc-networks-only?
status-im2.config/waku-enabled? status-im.config/waku-enabled?
legacy.status-im.utils.pairing/has-paired-installations? legacy.status-im.utils.pairing/has-paired-installations?
legacy.status-im.tribute-to-talk.core-test/user-cofx legacy.status-im.tribute-to-talk.core-test/user-cofx
mocks.js-dependencies/action-button mocks.js-dependencies/action-button
@ -108,40 +108,40 @@ legacy.status-im.ethereum.ens/name-hash
legacy.status-im.ethereum.ens/ABI-hash legacy.status-im.ethereum.ens/ABI-hash
legacy.status-im.ethereum.ens/pubkey-hash legacy.status-im.ethereum.ens/pubkey-hash
legacy.status-im.network.core/get-network legacy.status-im.network.core/get-network
status-im2.constants/desktop-content-types status-im.constants/desktop-content-types
status-im2.constants/blocks-per-hour status-im.constants/blocks-per-hour
status-im2.constants/one-earth-day status-im.constants/one-earth-day
status-im2.constants/left-pane-min-width status-im.constants/left-pane-min-width
status-im2.constants/system status-im.constants/system
status-im2.constants/contact-discovery status-im.constants/contact-discovery
status-im2.constants/send-transaction-failed-parse-response status-im.constants/send-transaction-failed-parse-response
status-im2.constants/send-transaction-failed-parse-params status-im.constants/send-transaction-failed-parse-params
status-im2.constants/send-transaction-no-account-selected status-im.constants/send-transaction-no-account-selected
status-im2.constants/send-transaction-invalid-tx-sender status-im.constants/send-transaction-invalid-tx-sender
status-im2.constants/web3-get-logs status-im.constants/web3-get-logs
status-im2.constants/web3-transaction-receipt status-im.constants/web3-transaction-receipt
status-im2.constants/web3-new-filter status-im.constants/web3-new-filter
status-im2.constants/web3-new-pending-transaction-filter status-im.constants/web3-new-pending-transaction-filter
status-im2.constants/web3-new-block-filter status-im.constants/web3-new-block-filter
status-im2.constants/web3-uninstall-filter status-im.constants/web3-uninstall-filter
status-im2.constants/web3-get-filter-changes status-im.constants/web3-get-filter-changes
status-im2.constants/web3-shh-post status-im.constants/web3-shh-post
status-im2.constants/web3-shh-new-identity status-im.constants/web3-shh-new-identity
status-im2.constants/web3-shh-has-identity status-im.constants/web3-shh-has-identity
status-im2.constants/web3-shh-new-group status-im.constants/web3-shh-new-group
status-im2.constants/web3-shh-add-to-group status-im.constants/web3-shh-add-to-group
status-im2.constants/web3-shh-new-filter status-im.constants/web3-shh-new-filter
status-im2.constants/web3-shh-uninstall-filter status-im.constants/web3-shh-uninstall-filter
status-im2.constants/web3-shh-get-filter-changes status-im.constants/web3-shh-get-filter-changes
status-im2.constants/web3-shh-get-messages status-im.constants/web3-shh-get-messages
status-im2.constants/status-create-address status-im.constants/status-create-address
status-im2.constants/event-transfer-hash status-im.constants/event-transfer-hash
status-im2.constants/regx-rtl-characters status-im.constants/regx-rtl-characters
status-im2.constants/desktop-msg-chars-hard-limit status-im.constants/desktop-msg-chars-hard-limit
status-im2.constants/debug-metrics status-im.constants/debug-metrics
status-im2.constants/scan-qr-code status-im.constants/scan-qr-code
status-im2.constants/ipfs-proto-code status-im.constants/ipfs-proto-code
status-im2.constants/swarm-proto-code status-im.constants/swarm-proto-code
legacy.status-im.multiaccounts.update.publisher/publish-update! legacy.status-im.multiaccounts.update.publisher/publish-update!
legacy.status-im.utils.async/task-queue legacy.status-im.utils.async/task-queue
legacy.status-im.utils.async/async-periodic-run! legacy.status-im.utils.async/async-periodic-run!

View File

@ -327,7 +327,7 @@ lint-fix: ##@test Run code style checks and fix issues
ALL_CLOJURE_FILES=$(call find_all_clojure_files) && \ ALL_CLOJURE_FILES=$(call find_all_clojure_files) && \
zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES && \ zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES && \
zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES && \ zprint '{:search-config? true}' -sw $$ALL_CLOJURE_FILES && \
clojure-lsp --ns-exclude-regex ".*/src/status_im2/core\.cljs$$" clean-ns && \ clojure-lsp --ns-exclude-regex ".*/src/status_im/core\.cljs$$" clean-ns && \
sh scripts/lint/trailing-newline.sh --fix && \ sh scripts/lint/trailing-newline.sh --fix && \
node_modules/.bin/prettier --write . node_modules/.bin/prettier --write .

View File

@ -1,9 +1,9 @@
#!/usr/bin/env sh #!/usr/bin/env sh
if rg --quiet --multiline '^\(ns.*\n^\s*\(:require\n(^\s*(;|#_).*\n)*(^\s*\[status-im2\.setup\.i18n-resources\W)' src/status_im2/core.cljs; then if rg --quiet --multiline '^\(ns.*\n^\s*\(:require\n(^\s*(;|#_).*\n)*(^\s*\[status-im\.setup\.i18n-resources\W)' src/status_im/core.cljs; then
exit 0 exit 0
elif [ $? -eq 1 ]; then elif [ $? -eq 1 ]; then
echo "status-im2.setup.i18n-resources must be loaded first (be the first one in ns :require form) in status-im2.core" echo "status-im.setup.i18n-resources must be loaded first (be the first one in ns :require form) in status-im.core"
echo "For more info, check the comment here https://github.com/status-im/status-mobile/pull/17618#discussion_r1361275489" echo "For more info, check the comment here https://github.com/status-im/status-mobile/pull/17618#discussion_r1361275489"
else else
exit $? exit $?

View File

@ -44,29 +44,29 @@
{:target :react-native {:target :react-native
;; To match the folder created by Nix build of JSBundle. ;; To match the folder created by Nix build of JSBundle.
:output-dir "result" :output-dir "result"
:init-fn status-im2.core/init :init-fn status-im.core/init
;; When false, the Shadow-CLJS watcher won't automatically refresh ;; When false, the Shadow-CLJS watcher won't automatically refresh
;; the target files (a.k.a hot reload). When false, you can manually ;; the target files (a.k.a hot reload). When false, you can manually
;; reload by calling `shadow.cljs.devtools.api/watch-compile-all!`. ;; reload by calling `shadow.cljs.devtools.api/watch-compile-all!`.
:devtools {:autobuild #shadow/env ["SHADOW_AUTOBUILD_ENABLED" :default true :as :bool]} :devtools {:autobuild #shadow/env ["SHADOW_AUTOBUILD_ENABLED" :default true :as :bool]}
:dev {:devtools {:before-load-async status-im2.setup.hot-reload/before-reload :dev {:devtools {:before-load-async status-im.setup.hot-reload/before-reload
:after-load-async status-im2.setup.hot-reload/reload :after-load-async status-im.setup.hot-reload/reload
:build-notify status-im2.setup.hot-reload/build-notify :build-notify status-im.setup.hot-reload/build-notify
:preloads [re-frisk-remote.preload :preloads [re-frisk-remote.preload
status-im2.setup.schema-preload status-im.setup.schema-preload
;; In order to use component test helpers in the REPL we ;; In order to use component test helpers in the REPL we
;; need to preload namespaces that are not normally required ;; need to preload namespaces that are not normally required
;; by production code, such as ;; by production code, such as
;; @testing-library/react-native. ;; @testing-library/react-native.
test-helpers.component]} test-helpers.component]}
:closure-defines :closure-defines
{status-im2.config/POKT_TOKEN #shadow/env "POKT_TOKEN" {status-im.config/POKT_TOKEN #shadow/env "POKT_TOKEN"
status-im2.config/INFURA_TOKEN #shadow/env "INFURA_TOKEN" status-im.config/INFURA_TOKEN #shadow/env "INFURA_TOKEN"
status-im2.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY" status-im.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY"
status-im2.config/ALCHEMY_ARBITRUM_GOERLI_TOKEN #shadow/env "ALCHEMY_ARBITRUM_GOERLI_TOKEN" status-im.config/ALCHEMY_ARBITRUM_GOERLI_TOKEN #shadow/env "ALCHEMY_ARBITRUM_GOERLI_TOKEN"
status-im2.config/ALCHEMY_OPTIMISM_GOERLI_TOKEN #shadow/env "ALCHEMY_OPTIMISM_GOERLI_TOKEN" status-im.config/ALCHEMY_OPTIMISM_GOERLI_TOKEN #shadow/env "ALCHEMY_OPTIMISM_GOERLI_TOKEN"
status-im2.config/ALCHEMY_OPTIMISM_MAINNET_TOKEN #shadow/env "ALCHEMY_OPTIMISM_MAINNET_TOKEN" status-im.config/ALCHEMY_OPTIMISM_MAINNET_TOKEN #shadow/env "ALCHEMY_OPTIMISM_MAINNET_TOKEN"
status-im2.config/ALCHEMY_ARBITRUM_MAINNET_TOKEN #shadow/env "ALCHEMY_ARBITRUM_MAINNET_TOKEN"} status-im.config/ALCHEMY_ARBITRUM_MAINNET_TOKEN #shadow/env "ALCHEMY_ARBITRUM_MAINNET_TOKEN"}
:compiler-options {:output-feature-set :es5 :compiler-options {:output-feature-set :es5
;; We disable `:fn-deprecated` warnings because we ;; We disable `:fn-deprecated` warnings because we
;; are managing deprecation via clj-kondo and we ;; are managing deprecation via clj-kondo and we
@ -87,13 +87,13 @@
:chunks {:fleets legacy.status-im.fleet.default-fleet/default-fleets} :chunks {:fleets legacy.status-im.fleet.default-fleet/default-fleets}
:release :release
{:closure-defines {:closure-defines
{status-im2.config/POKT_TOKEN #shadow/env "POKT_TOKEN" {status-im.config/POKT_TOKEN #shadow/env "POKT_TOKEN"
status-im2.config/INFURA_TOKEN #shadow/env "INFURA_TOKEN" status-im.config/INFURA_TOKEN #shadow/env "INFURA_TOKEN"
status-im2.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY" status-im.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY"
status-im2.config/ALCHEMY_ARBITRUM_GOERLI_TOKEN #shadow/env "ALCHEMY_ARBITRUM_GOERLI_TOKEN" status-im.config/ALCHEMY_ARBITRUM_GOERLI_TOKEN #shadow/env "ALCHEMY_ARBITRUM_GOERLI_TOKEN"
status-im2.config/ALCHEMY_OPTIMISM_GOERLI_TOKEN #shadow/env "ALCHEMY_OPTIMISM_GOERLI_TOKEN" status-im.config/ALCHEMY_OPTIMISM_GOERLI_TOKEN #shadow/env "ALCHEMY_OPTIMISM_GOERLI_TOKEN"
status-im2.config/ALCHEMY_OPTIMISM_MAINNET_TOKEN #shadow/env "ALCHEMY_OPTIMISM_MAINNET_TOKEN" status-im.config/ALCHEMY_OPTIMISM_MAINNET_TOKEN #shadow/env "ALCHEMY_OPTIMISM_MAINNET_TOKEN"
status-im2.config/ALCHEMY_ARBITRUM_MAINNET_TOKEN #shadow/env "ALCHEMY_ARBITRUM_MAINNET_TOKEN"} status-im.config/ALCHEMY_ARBITRUM_MAINNET_TOKEN #shadow/env "ALCHEMY_ARBITRUM_MAINNET_TOKEN"}
:compiler-options {:output-feature-set :es6 :compiler-options {:output-feature-set :es6
;;disable for android build as there ;;disable for android build as there
;;is an intermittent warning with deftype ;;is an intermittent warning with deftype
@ -112,21 +112,21 @@
:output-dir "target/test" :output-dir "target/test"
:optimizations :simple :optimizations :simple
:target :node-test :target :node-test
:dev {:devtools {:preloads [status-im2.setup.schema-preload]}} :dev {:devtools {:preloads [status-im.setup.schema-preload]}}
;; Uncomment line below to `make test-watch` a specific file ;; Uncomment line below to `make test-watch` a specific file
;; :ns-regexp "status-im2.subs.messages-test$" ;; :ns-regexp "status-im.subs.messages-test$"
:main legacy.status-im.test-runner/main :main legacy.status-im.test-runner/main
;; set :ui-driven to true to let shadow-cljs inject node-repl ;; set :ui-driven to true to let shadow-cljs inject node-repl
:ui-driven true :ui-driven true
:closure-defines :closure-defines
{schema.core/throw-on-error? true {schema.core/throw-on-error? true
status-im2.config/POKT_TOKEN #shadow/env "POKT_TOKEN" status-im.config/POKT_TOKEN #shadow/env "POKT_TOKEN"
status-im2.config/INFURA_TOKEN #shadow/env "INFURA_TOKEN" status-im.config/INFURA_TOKEN #shadow/env "INFURA_TOKEN"
status-im2.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY" status-im.config/OPENSEA_API_KEY #shadow/env "OPENSEA_API_KEY"
status-im2.config/ALCHEMY_ARBITRUM_GOERLI_TOKEN #shadow/env "ALCHEMY_ARBITRUM_GOERLI_TOKEN" status-im.config/ALCHEMY_ARBITRUM_GOERLI_TOKEN #shadow/env "ALCHEMY_ARBITRUM_GOERLI_TOKEN"
status-im2.config/ALCHEMY_OPTIMISM_GOERLI_TOKEN #shadow/env "ALCHEMY_OPTIMISM_GOERLI_TOKEN" status-im.config/ALCHEMY_OPTIMISM_GOERLI_TOKEN #shadow/env "ALCHEMY_OPTIMISM_GOERLI_TOKEN"
status-im2.config/ALCHEMY_OPTIMISM_MAINNET_TOKEN #shadow/env "ALCHEMY_OPTIMISM_MAINNET_TOKEN" status-im.config/ALCHEMY_OPTIMISM_MAINNET_TOKEN #shadow/env "ALCHEMY_OPTIMISM_MAINNET_TOKEN"
status-im2.config/ALCHEMY_ARBITRUM_MAINNET_TOKEN #shadow/env "ALCHEMY_ARBITRUM_MAINNET_TOKEN"} status-im.config/ALCHEMY_ARBITRUM_MAINNET_TOKEN #shadow/env "ALCHEMY_ARBITRUM_MAINNET_TOKEN"}
:compiler-options :compiler-options
{;; needed because we override require and it {;; needed because we override require and it
;; messes with source-map which reports callstack ;; messes with source-map which reports callstack
@ -153,10 +153,10 @@
;; the preloads namespace because it will ;; the preloads namespace because it will
;; be used directly by Jest in the option ;; be used directly by Jest in the option
;; setupFilesAfterEnv. ;; setupFilesAfterEnv.
status-im2.setup.schema-preload status-im.setup.schema-preload
;;quo.core-spec ;;quo.core-spec
status-im2.core-spec] status-im.core-spec]
:ns-regexp "component-spec$" :ns-regexp "component-spec$"
:output-dir "component-spec" :output-dir "component-spec"
:closure-defines {schema.core/throw-on-error? true} :closure-defines {schema.core/throw-on-error? true}

View File

@ -3,7 +3,7 @@
[clojure.string :as string] [clojure.string :as string]
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update] [legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -16,9 +16,9 @@
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.chat.events :as chat.events] [status-im.contexts.chat.events :as chat.events]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.address :as address] [utils.address :as address]
[utils.debounce :as debounce] [utils.debounce :as debounce]

View File

@ -7,7 +7,7 @@
[legacy.status-im.ui.screens.browser.eip3085.sheet :as sheet] [legacy.status-im.ui.screens.browser.eip3085.sheet :as sheet]
[legacy.status-im.utils.random :as random] [legacy.status-im.utils.random :as random]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -3,7 +3,7 @@
(ns legacy.status-im.browser.eip3326 (ns legacy.status-im.browser.eip3326
(:require (:require
[legacy.status-im.ui.screens.browser.eip3326.sheet :as sheet] [legacy.status-im.ui.screens.browser.eip3326.sheet :as sheet]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -1,8 +1,8 @@
(ns legacy.status-im.browser.permissions (ns legacy.status-im.browser.permissions
(:require (:require
[legacy.status-im.qr-scanner.core :as qr-scanner] [legacy.status-im.qr-scanner.core :as qr-scanner]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -3,8 +3,8 @@
[legacy.status-im.data-store.chats :as data-store.chats] [legacy.status-im.data-store.chats :as data-store.chats]
[legacy.status-im.data-store.messages :as data-store.messages] [legacy.status-im.data-store.messages :as data-store.messages]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.chat.messages.list.events :as message-list] [status-im.contexts.chat.messages.list.events :as message-list]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -6,9 +6,9 @@
[legacy.status-im.utils.deprecated-types :as types] [legacy.status-im.utils.deprecated-types :as types]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.contexts.chat.messages.delete-message.events :as delete-message] [status-im.contexts.chat.messages.delete-message.events :as delete-message]
[status-im2.contexts.chat.messages.list.events :as message-list] [status-im.contexts.chat.messages.list.events :as message-list]
[status-im2.contexts.chat.messages.list.state :as view.state] [status-im.contexts.chat.messages.list.state :as view.state]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
(defn- message-loaded? (defn- message-loaded?

View File

@ -3,7 +3,7 @@
[cljs.test :refer-macros [deftest is testing]] [cljs.test :refer-macros [deftest is testing]]
[legacy.status-im.chat.models.loading :as loading] [legacy.status-im.chat.models.loading :as loading]
[legacy.status-im.chat.models.message :as message] [legacy.status-im.chat.models.message :as message]
[status-im2.contexts.chat.messages.list.state :as list.state])) [status-im.contexts.chat.messages.list.state :as list.state]))
(deftest add-received-message-test (deftest add-received-message-test
(with-redefs [message/add-message #(identity %1)] (with-redefs [message/add-message #(identity %1)]

View File

@ -4,8 +4,8 @@
[legacy.status-im.bottom-sheet.events :as bottom-sheet] [legacy.status-im.bottom-sheet.events :as bottom-sheet]
legacy.status-im.communities.e2e legacy.status-im.communities.e2e
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.contexts.shell.activity-center.events :as activity-center] [status-im.contexts.shell.activity-center.events :as activity-center]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -4,10 +4,10 @@
[legacy.status-im.data-store.chats :as chats-store] [legacy.status-im.data-store.chats :as chats-store]
[legacy.status-im.utils.deprecated-types :as types] [legacy.status-im.utils.deprecated-types :as types]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.contexts.chat.messages.list.events :as message-list] [status-im.contexts.chat.messages.list.events :as message-list]
[status-im2.contexts.contacts.events :as contacts-store] [status-im.contexts.contacts.events :as contacts-store]
[status-im2.contexts.shell.activity-center.events :as activity-center] [status-im.contexts.shell.activity-center.events :as activity-center]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
(rf/defn clean-up-chat (rf/defn clean-up-chat

View File

@ -2,7 +2,7 @@
(:require (:require
[clojure.set :as set] [clojure.set :as set]
[clojure.string :as string] [clojure.string :as string]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.address :as address])) [utils.address :as address]))
(defn public-key-and-ens-name->new-contact (defn public-key-and-ens-name->new-contact

View File

@ -2,8 +2,8 @@
(:require (:require
[clojure.set :as set] [clojure.set :as set]
[legacy.status-im.data-store.messages :as messages] [legacy.status-im.data-store.messages :as messages]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.shell.activity-center.notification-types :as notification-types])) [status-im.contexts.shell.activity-center.notification-types :as notification-types]))
(defn mark-notifications-as-read (defn mark-notifications-as-read
[notifications] [notifications]

View File

@ -2,8 +2,8 @@
(:require (:require
[cljs.test :refer [deftest is testing]] [cljs.test :refer [deftest is testing]]
[legacy.status-im.data-store.activities :as store] [legacy.status-im.data-store.activities :as store]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.shell.activity-center.notification-types :as notification-types])) [status-im.contexts.shell.activity-center.notification-types :as notification-types]))
(def chat-id (def chat-id
"0x04c66155") "0x04c66155")

View File

@ -3,7 +3,7 @@
[clojure.set :as set] [clojure.set :as set]
[legacy.status-im.data-store.messages :as messages] [legacy.status-im.data-store.messages :as messages]
[legacy.status-im.utils.deprecated-types :as types] [legacy.status-im.utils.deprecated-types :as types]
[status-im2.constants :as constants] [status-im.constants :as constants]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -2,7 +2,7 @@
(:require (:require
[clojure.set :as set] [clojure.set :as set]
[legacy.status-im.data-store.visibility-status-updates :as visibility-status-updates] [legacy.status-im.data-store.visibility-status-updates :as visibility-status-updates]
[status-im2.config :as config] [status-im.config :as config]
[utils.ethereum.eip.eip55 :as eip55])) [utils.ethereum.eip.eip55 :as eip55]))
(defn rpc->networks (defn rpc->networks

View File

@ -9,8 +9,8 @@
[legacy.status-im.utils.random :as random] [legacy.status-im.utils.random :as random]
[legacy.status-im.wallet.utils :as wallet.utils] [legacy.status-im.wallet.utils :as wallet.utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.datetime :as datetime] [utils.datetime :as datetime]
[utils.ens.core :as utils.ens] [utils.ens.core :as utils.ens]

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.ethereum.ens (ns legacy.status-im.ethereum.ens
(:require (:require
[native-module.core :as native-module] [native-module.core :as native-module]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[utils.ens.core :as utils.ens])) [utils.ens.core :as utils.ens]))
(defn address (defn address

View File

@ -6,7 +6,7 @@
[legacy.status-im.utils.mobile-sync :as utils.mobile-sync] [legacy.status-im.utils.mobile-sync :as utils.mobile-sync]
[legacy.status-im.wallet.core :as wallet] [legacy.status-im.wallet.core :as wallet]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]
[utils.ethereum.eip.eip55 :as eip55] [utils.ethereum.eip.eip55 :as eip55]

View File

@ -42,17 +42,17 @@
[react-native.core :as rn] [react-native.core :as rn]
[react-native.permissions :as permissions] [react-native.permissions :as permissions]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.common.biometric.events :as biometric] [status-im.common.biometric.events :as biometric]
status-im2.common.standard-authentication.events status-im.common.standard-authentication.events
[status-im2.common.theme.core :as theme] [status-im.common.theme.core :as theme]
[status-im2.common.universal-links :as universal-links] [status-im.common.universal-links :as universal-links]
[status-im2.constants :as constants] [status-im.constants :as constants]
status-im2.contexts.chat.home.events status-im.contexts.chat.home.events
status-im2.contexts.communities.home.events status-im.contexts.communities.home.events
status-im2.contexts.onboarding.events status-im.contexts.onboarding.events
status-im2.contexts.shell.activity-center.events status-im.contexts.shell.activity-center.events
status-im2.contexts.shell.activity-center.notification.contact-requests.events status-im.contexts.shell.activity-center.notification.contact-requests.events
status-im2.contexts.shell.jump-to.events status-im.contexts.shell.jump-to.events
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
@ -110,7 +110,7 @@
[{:keys [db] :as cofx} _] [{:keys [db] :as cofx} _]
(let [current-theme-type (get-in cofx [:db :profile/profile :appearance])] (let [current-theme-type (get-in cofx [:db :profile/profile :appearance])]
(when (and (multiaccounts.model/logged-in? db) (when (and (multiaccounts.model/logged-in? db)
(= current-theme-type status-im2.constants/theme-type-system)) (= current-theme-type status-im.constants/theme-type-system))
{:profile.settings/switch-theme-fx {:profile.settings/switch-theme-fx
[(get-in db [:profile/profile :appearance]) [(get-in db [:profile/profile :appearance])
(:view-id db) true]}))) (:view-id db) true]})))

View File

@ -3,8 +3,8 @@
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update] [legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
[legacy.status-im.node.core :as node] [legacy.status-im.node.core :as node]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -2,7 +2,7 @@
(:require (:require
[cljs.test :refer-macros [deftest is testing]] [cljs.test :refer-macros [deftest is testing]]
[legacy.status-im.fleet.core :as fleet] [legacy.status-im.fleet.core :as fleet]
[status-im2.constants :as constants])) [status-im.constants :as constants]))
#_(deftest fleets-test #_(deftest fleets-test
(testing "not passing any extra fleet" (testing "not passing any extra fleet"

View File

@ -6,10 +6,10 @@
[legacy.status-im.data-store.invitations :as data-store.invitations] [legacy.status-im.data-store.invitations :as data-store.invitations]
[oops.core :as oops] [oops.core :as oops]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.chat.events :as chat.events] [status-im.contexts.chat.events :as chat.events]
[status-im2.contexts.shell.activity-center.events :as activity-center] [status-im.contexts.shell.activity-center.events :as activity-center]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -6,7 +6,7 @@
[legacy.status-im.signing.core :as signing.core] [legacy.status-im.signing.core :as signing.core]
[legacy.status-im.utils.utils :as utils] [legacy.status-im.utils.utils :as utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -4,7 +4,7 @@
[legacy.status-im.keycard.real-keycard :as real-keycard] [legacy.status-im.keycard.real-keycard :as real-keycard]
[legacy.status-im.keycard.simulated-keycard :as simulated-keycard] [legacy.status-im.keycard.simulated-keycard :as simulated-keycard]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[taoensso.timbre :as log])) [taoensso.timbre :as log]))
(defonce card (defonce card

View File

@ -2,7 +2,7 @@
(:require (:require
[legacy.status-im.keycard.common :as common] [legacy.status-im.keycard.common :as common]
[legacy.status-im.keycard.onboarding :as onboarding] [legacy.status-im.keycard.onboarding :as onboarding]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf] [utils.re-frame :as rf]

View File

@ -9,7 +9,7 @@
[legacy.status-im.utils.keychain.core :as keychain] [legacy.status-im.utils.keychain.core :as keychain]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.address :as address] [utils.address :as address]
[utils.datetime :as datetime] [utils.datetime :as datetime]

View File

@ -15,7 +15,7 @@
[legacy.status-im.keycard.wallet :as wallet] [legacy.status-im.keycard.wallet :as wallet]
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update] [legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
[re-frame.db] [re-frame.db]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.datetime :as datetime] [utils.datetime :as datetime]
[utils.i18n :as i18n] [utils.i18n :as i18n]

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.keycard.delete-key (ns legacy.status-im.keycard.delete-key
(:require (:require
[legacy.status-im.keycard.common :as common] [legacy.status-im.keycard.common :as common]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
(rf/defn reset-card-pressed (rf/defn reset-card-pressed

View File

@ -7,7 +7,7 @@
[legacy.status-im.keycard.recovery :as recovery] [legacy.status-im.keycard.recovery :as recovery]
[legacy.status-im.signing.core :as signing.core] [legacy.status-im.signing.core :as signing.core]
[legacy.status-im.utils.deprecated-types :as types] [legacy.status-im.utils.deprecated-types :as types]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.address :as address] [utils.address :as address]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -2,7 +2,7 @@
(:require (:require
[legacy.status-im.keycard.common :as common] [legacy.status-im.keycard.common :as common]
legacy.status-im.keycard.fx legacy.status-im.keycard.fx
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -7,8 +7,8 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[legacy.status-im.utils.utils :as utils] [legacy.status-im.utils.utils :as utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -11,8 +11,8 @@
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.address :as address] [utils.address :as address]
[utils.datetime :as datetime] [utils.datetime :as datetime]

View File

@ -9,7 +9,7 @@
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[re-frame.db :as re-frame.db] [re-frame.db :as re-frame.db]
[status-im2.constants :as constants] [status-im.constants :as constants]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.address :as address] [utils.address :as address]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))

View File

@ -3,7 +3,7 @@
[legacy.status-im.keycard.common :as common] [legacy.status-im.keycard.common :as common]
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update] [legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -5,7 +5,7 @@
[legacy.status-im.ui.screens.wallet.add-new.views :as add-new.views] [legacy.status-im.ui.screens.wallet.add-new.views :as add-new.views]
[legacy.status-im.utils.hex :as utils.hex] [legacy.status-im.utils.hex :as utils.hex]
[native-module.core :as native-module] [native-module.core :as native-module]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.ethereum.eip.eip55 :as eip55] [utils.ethereum.eip.eip55 :as eip55]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -5,7 +5,7 @@
[legacy.status-im.node.core :as node] [legacy.status-im.node.core :as node]
[legacy.status-im.utils.mobile-sync :as mobile-network-utils] [legacy.status-im.utils.mobile-sync :as mobile-network-utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -6,8 +6,8 @@
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update] [legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
[legacy.status-im.utils.mobile-sync :as utils] [legacy.status-im.utils.mobile-sync :as utils]
[legacy.status-im.wallet.core :as wallet] [legacy.status-im.wallet.core :as wallet]
[status-im2.contexts.add-new-contact.events :as add-new-contact] [status-im.contexts.add-new-contact.events :as add-new-contact]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -7,8 +7,8 @@
[legacy.status-im.utils.signing-phrase.core :as signing-phrase] [legacy.status-im.utils.signing-phrase.core :as signing-phrase]
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.ethereum.eip.eip55 :as eip55] [utils.ethereum.eip.eip55 :as eip55]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf] [utils.re-frame :as rf]

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.multiaccounts.db (ns legacy.status-im.multiaccounts.db
(:require (:require
[cljs.spec.alpha :as spec] [cljs.spec.alpha :as spec]
[status-im2.constants :as const])) [status-im.constants :as const]))
(defn valid-length? (defn valid-length?
[password] [password]

View File

@ -3,8 +3,8 @@
[legacy.status-im.wallet.core :as wallet] [legacy.status-im.wallet.core :as wallet]
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.common.keychain.events :as keychain] [status-im.common.keychain.events :as keychain]
[status-im2.db :as db] [status-im.db :as db]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -4,7 +4,7 @@
[legacy.status-im.utils.deprecated-types :as types] [legacy.status-im.utils.deprecated-types :as types]
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[taoensso.timbre :as log])) [taoensso.timbre :as log]))
(re-frame/reg-fx (re-frame/reg-fx

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.multiaccounts.update.core (ns legacy.status-im.multiaccounts.update.core
(:require (:require
[legacy.status-im.utils.deprecated-types :as types] [legacy.status-im.utils.deprecated-types :as types]
[status-im2.constants :as constants] [status-im.constants :as constants]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.ens.core :as utils.ens] [utils.ens.core :as utils.ens]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -3,7 +3,7 @@
[clojure.string :as string] [clojure.string :as string]
[legacy.status-im.node.core :as node] [legacy.status-im.node.core :as node]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -5,7 +5,7 @@
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.config :as config] [status-im.config :as config]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
(defn- add-custom-bootnodes (defn- add-custom-bootnodes

View File

@ -3,9 +3,9 @@
[legacy.status-im.multiaccounts.update.core :as multiaccounts.update] [legacy.status-im.multiaccounts.update.core :as multiaccounts.update]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as utils.platform] [react-native.platform :as utils.platform]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -3,7 +3,7 @@
[legacy.status-im.group-chats.core :as group-chats] [legacy.status-im.group-chats.core :as group-chats]
[legacy.status-im.utils.utils :as utils] [legacy.status-im.utils.utils :as utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]
[utils.i18n :as i18n] [utils.i18n :as i18n]

View File

@ -15,8 +15,8 @@
[legacy.status-im.wallet.utils :as wallet.utils] [legacy.status-im.wallet.utils :as wallet.utils]
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[status-im2.constants :as constants] [status-im.constants :as constants]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.address :as address] [utils.address :as address]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.signing.eip1559 (ns legacy.status-im.signing.eip1559
(:require (:require
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.common.json-rpc.events :as json-rpc])) [status-im.common.json-rpc.events :as json-rpc]))
(defonce london-activated? (atom false)) (defonce london-activated? (atom false))

View File

@ -5,7 +5,7 @@
[legacy.status-im.popover.core :as popover] [legacy.status-im.popover.core :as popover]
[legacy.status-im.signing.eip1559 :as eip1559] [legacy.status-im.signing.eip1559 :as eip1559]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]
[utils.i18n :as i18n] [utils.i18n :as i18n]

View File

@ -3,7 +3,7 @@
[legacy.status-im.utils.utils :as utils] [legacy.status-im.utils.utils :as utils]
[legacy.status-im.wallet.utils :as wallet.utils] [legacy.status-im.wallet.utils :as wallet.utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.ethereum.chain :as chain] [utils.ethereum.chain :as chain]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.subs.networks (ns legacy.status-im.subs.networks
(:require (:require
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[utils.ethereum.chain :as chain])) [utils.ethereum.chain :as chain]))
(defn- filter-networks (defn- filter-networks

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.subs.stickers (ns legacy.status-im.subs.stickers
(:require (:require
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants])) [status-im.constants :as constants]))
(re-frame/reg-sub (re-frame/reg-sub
:stickers/installed-packs :stickers/installed-packs

View File

@ -5,7 +5,7 @@
[legacy.status-im.utils.currency :as currency] [legacy.status-im.utils.currency :as currency]
[legacy.status-im.wallet.utils :as wallet.utils] [legacy.status-im.wallet.utils :as wallet.utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.money :as money])) [utils.money :as money]))

View File

@ -6,10 +6,10 @@
legacy.status-im.subs.root legacy.status-im.subs.root
[shadow.test :as st] [shadow.test :as st]
[shadow.test.env :as env] [shadow.test.env :as env]
status-im2.setup.i18n-resources status-im.setup.i18n-resources
[status-im2.setup.interceptors :as interceptors] [status-im.setup.interceptors :as interceptors]
[status-im2.setup.schema :as schema] [status-im.setup.schema :as schema]
status-im2.subs.root status-im.subs.root
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
(defonce repl? (atom false)) (defonce repl? (atom false))

View File

@ -11,7 +11,7 @@
[quo.theme :as theme] [quo.theme :as theme]
[re-frame.core :as re-frame.core] [re-frame.core :as re-frame.core]
[react-native.core :as rn] [react-native.core :as rn]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.ens.core :as utils.ens])) [utils.ens.core :as utils.ens]))
;;TODO REWORK THIS NAMESPACE ;;TODO REWORK THIS NAMESPACE

View File

@ -2,7 +2,7 @@
(:require (:require
[legacy.status-im.ui.components.colors :as colors] [legacy.status-im.ui.components.colors :as colors]
[legacy.status-im.utils.styles :as styles] [legacy.status-im.utils.styles :as styles]
[status-im2.config :as config])) [status-im.config :as config]))
(def tooltip-container (def tooltip-container
(merge (merge

View File

@ -3,7 +3,7 @@
["react-native-webview" :default rn-webview] ["react-native-webview" :default rn-webview]
[react-native.platform :as platform] [react-native.platform :as platform]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.config :as config])) [status-im.config :as config]))
(def webview-class (def webview-class
(reagent/adapt-react-class rn-webview)) (reagent/adapt-react-class rn-webview))

View File

@ -7,7 +7,7 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[legacy.status-im.ui.components.webview :refer [webview]] [legacy.status-im.ui.components.webview :refer [webview]]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :refer [status-im.constants :refer
[principles-link privacy-policy-link terms-of-service-link]] [principles-link privacy-policy-link terms-of-service-link]]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :as views])) (:require-macros [legacy.status-im.utils.views :as views]))

View File

@ -11,7 +11,7 @@
[legacy.status-im.ui.screens.wallet.components.views :as components] [legacy.status-im.ui.screens.wallet.components.views :as components]
[legacy.status-im.utils.utils :as utils] [legacy.status-im.utils.utils :as utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.url :as url])) [utils.url :as url]))

View File

@ -5,7 +5,7 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -4,7 +4,7 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[quo.foundations.colors :as quo.colors] [quo.foundations.colors :as quo.colors]
[quo.foundations.typography :as typography] [quo.foundations.typography :as typography]
[status-im2.constants :as constants])) [status-im.constants :as constants]))
(defn style-message-text (defn style-message-text
[] []

View File

@ -8,9 +8,9 @@
[quo.foundations.colors :as colors] [quo.foundations.colors :as colors]
[quo.foundations.typography :as typography] [quo.foundations.typography :as typography]
[react-native.core :as rn] [react-native.core :as rn]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.chat.messages.delete-message-for-me.events] [status-im.contexts.chat.messages.delete-message-for-me.events]
[status-im2.contexts.chat.messages.delete-message.events] [status-im.contexts.chat.messages.delete-message.events]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf]) [utils.re-frame :as rf])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -9,7 +9,7 @@
[legacy.status-im.ui.components.topbar :as topbar] [legacy.status-im.ui.components.topbar :as topbar]
[react-native.core :as rn] [react-native.core :as rn]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.debounce :as debounce] [utils.debounce :as debounce]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -9,8 +9,8 @@
[legacy.status-im.ui.components.unviewed-indicator :as unviewed-indicator] [legacy.status-im.ui.components.unviewed-indicator :as unviewed-indicator]
[react-native.core :as rn] [react-native.core :as rn]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -7,7 +7,7 @@
[legacy.status-im.ui.components.list.views :as list.views] [legacy.status-im.ui.components.list.views :as list.views]
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -10,7 +10,7 @@
[legacy.status-im.ui.components.topbar :as topbar] [legacy.status-im.ui.components.topbar :as topbar]
[legacy.status-im.ui.screens.dapps-permissions.styles :as styles] [legacy.status-im.ui.screens.dapps-permissions.styles :as styles]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(defn d-icon (defn d-icon

View File

@ -4,8 +4,8 @@
[legacy.status-im.ui.components.list.item :as list.item] [legacy.status-im.ui.components.list.item :as list.item]
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(def titles (def titles

View File

@ -20,7 +20,7 @@
[legacy.status-im.utils.utils :as utils] [legacy.status-im.utils.utils :as utils]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.config :as config] [status-im.config :as config]
[utils.address :as address] [utils.address :as address]
[utils.debounce :as debounce] [utils.debounce :as debounce]
[utils.ens.core :as utils.ens] [utils.ens.core :as utils.ens]

View File

@ -14,7 +14,7 @@
[legacy.status-im.ui.screens.group.styles :as styles] [legacy.status-im.ui.screens.group.styles :as styles]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.debounce :as debounce] [utils.debounce :as debounce]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :as views])) (:require-macros [legacy.status-im.utils.views :as views]))

View File

@ -4,7 +4,7 @@
[legacy.status-im.ui.components.list.views :as list] [legacy.status-im.ui.components.list.views :as list]
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(def data (def data

View File

@ -14,7 +14,7 @@
[quo.core :as quo] [quo.core :as quo]
[quo.foundations.colors :as quo.colors] [quo.foundations.colors :as quo.colors]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.datetime :as datetime] [utils.datetime :as datetime]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))

View File

@ -13,7 +13,7 @@
[legacy.status-im.ui.screens.keycard.pin.views :as pin.views] [legacy.status-im.ui.screens.keycard.pin.views :as pin.views]
[legacy.status-im.ui.screens.keycard.styles :as styles] [legacy.status-im.ui.screens.keycard.styles :as styles]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf]) [utils.re-frame :as rf])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -14,7 +14,7 @@
[legacy.status-im.ui.screens.keycard.views :as keycard.views] [legacy.status-im.ui.screens.keycard.views :as keycard.views]
[legacy.status-im.utils.core :as utils.core] [legacy.status-im.utils.core :as utils.core]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -8,7 +8,7 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[legacy.status-im.ui.screens.keycard.views :as keycard.views] [legacy.status-im.ui.screens.keycard.views :as keycard.views]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(defn- activity-indicator (defn- activity-indicator

View File

@ -17,9 +17,9 @@
[legacy.status-im.ui.screens.keycard.styles :as styles] [legacy.status-im.ui.screens.keycard.styles :as styles]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[status-im2.navigation.events :as navigation] [status-im.navigation.events :as navigation]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf]) [utils.re-frame :as rf])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -8,7 +8,7 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[legacy.status-im.ui.screens.link-previews-settings.styles :as styles] [legacy.status-im.ui.screens.link-previews-settings.styles :as styles]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.contexts.chat.messages.link-preview.events] [status-im.contexts.chat.messages.link-preview.events]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(defn prepare-urls-items-data (defn prepare-urls-items-data

View File

@ -5,7 +5,7 @@
[native-module.core :as native-module] [native-module.core :as native-module]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[utils.datetime :as datetime])) [utils.datetime :as datetime]))
(defn get-block (defn get-block

View File

@ -8,7 +8,7 @@
[legacy.status-im.ui.screens.privacy-and-security-settings.events :as delete-profile] [legacy.status-im.ui.screens.privacy-and-security-settings.events :as delete-profile]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.security.core :as security])) [utils.security.core :as security]))

View File

@ -8,8 +8,8 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :as views])) (:require-macros [legacy.status-im.utils.views :as views]))

View File

@ -14,8 +14,8 @@
[quo.theme :as theme] [quo.theme :as theme]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -13,8 +13,8 @@
[legacy.status-im.ui.screens.chat.utils :as chat.utils] [legacy.status-im.ui.screens.chat.utils :as chat.utils]
[legacy.status-im.ui.screens.profile.components.styles :as profile.components.styles] [legacy.status-im.ui.screens.profile.components.styles :as profile.components.styles]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.debounce :as debounce] [utils.debounce :as debounce]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :refer [defview letsubs]])) (:require-macros [legacy.status-im.utils.views :refer [defview letsubs]]))

View File

@ -3,8 +3,8 @@
[legacy.status-im.ui.components.list.item :as list.item] [legacy.status-im.ui.components.list.item :as list.item]
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.contexts.profile.settings.events] [status-im.contexts.profile.settings.events]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(def crop-size 1000) (def crop-size 1000)

View File

@ -17,9 +17,9 @@
[quo.theme :as theme] [quo.theme :as theme]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.common.qr-codes.view :as qr-codes] [status-im.common.qr-codes.view :as qr-codes]
[status-im2.config :as config] [status-im.config :as config]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.ens.stateofus :as stateofus] [utils.ens.stateofus :as stateofus]
[utils.i18n :as i18n]) [utils.i18n :as i18n])
(:require-macros [legacy.status-im.utils.views :as views])) (:require-macros [legacy.status-im.utils.views :as views]))

View File

@ -3,7 +3,7 @@
[legacy.status-im.ui.components.colors :as colors] [legacy.status-im.ui.components.colors :as colors]
[legacy.status-im.ui.screens.profile.visibility-status.styles :as styles] [legacy.status-im.ui.screens.profile.visibility-status.styles :as styles]
[quo.foundations.colors :as quo.colors] [quo.foundations.colors :as quo.colors]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.datetime :as datetime] [utils.datetime :as datetime]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -12,7 +12,7 @@
[react-native.core :as rn] [react-native.core :as rn]
[react-native.platform :as platform] [react-native.platform :as platform]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))
;; === Code Related to visibility-status-button === ;; === Code Related to visibility-status-button ===

View File

@ -10,7 +10,7 @@
[react-native.camera-kit :as camera-kit] [react-native.camera-kit :as camera-kit]
[react-native.core :as rn] [react-native.core :as rn]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.config :as config] [status-im.config :as config]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -8,7 +8,7 @@
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.core :as rn] [react-native.core :as rn]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.common.json-rpc.events :as json-rpc] [status-im.common.json-rpc.events :as json-rpc]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -69,7 +69,7 @@
[legacy.status-im.ui.screens.wallet.settings.views :as wallet-settings] [legacy.status-im.ui.screens.wallet.settings.views :as wallet-settings]
[legacy.status-im.ui.screens.wallet.swap.views :as wallet.swap] [legacy.status-im.ui.screens.wallet.swap.views :as wallet.swap]
[legacy.status-im.ui.screens.wallet.transactions.views :as wallet-transactions] [legacy.status-im.ui.screens.wallet.transactions.views :as wallet-transactions]
[status-im2.contexts.chat.group-details.view :as group-details] [status-im.contexts.chat.group-details.view :as group-details]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(defn right-button-options (defn right-button-options

View File

@ -25,7 +25,7 @@
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.platform :as platform] [react-native.platform :as platform]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.security.core :as security])) [utils.security.core :as security]))

View File

@ -6,7 +6,7 @@
[legacy.status-im.ui.components.list.item :as list.item] [legacy.status-im.ui.components.list.item :as list.item]
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.constants :as constants] [status-im.constants :as constants]
[utils.i18n :as i18n])) [utils.i18n :as i18n]))
(views/defview sync-settings (views/defview sync-settings

View File

@ -18,7 +18,7 @@
[quo.foundations.colors :as quo.colors] [quo.foundations.colors :as quo.colors]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.config :as config] [status-im.config :as config]
[utils.address :as address] [utils.address :as address]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf]) [utils.re-frame :as rf])

View File

@ -5,7 +5,7 @@
[legacy.status-im.ui.components.react :as react] [legacy.status-im.ui.components.react :as react]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im2.common.qr-codes.view :as qr-codes] [status-im.common.qr-codes.view :as qr-codes]
[utils.ethereum.eip.eip55 :as eip55] [utils.ethereum.eip.eip55 :as eip55]
[utils.ethereum.eip.eip681 :as eip681] [utils.ethereum.eip.eip681 :as eip681]
[utils.i18n :as i18n]) [utils.i18n :as i18n])

View File

@ -17,7 +17,7 @@
[legacy.status-im.wallet.utils :as wallet.utils] [legacy.status-im.wallet.utils :as wallet.utils]
[quo.core :as quo] [quo.core :as quo]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.contexts.profile.utils :as profile.utils] [status-im.contexts.profile.utils :as profile.utils]
[utils.address :as address] [utils.address :as address]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.money :as money])) [utils.money :as money]))

View File

@ -1,7 +1,7 @@
(ns legacy.status-im.utils.js-resources (ns legacy.status-im.utils.js-resources
(:require-macros [legacy.status-im.utils.slurp :refer [slurp]]) (:require-macros [legacy.status-im.utils.slurp :refer [slurp]])
(:require (:require
[status-im2.config :as config])) [status-im.config :as config]))
(def provider-file (slurp "resources/js/provider.js")) (def provider-file (slurp "resources/js/provider.js"))
(defn ethereum-provider (defn ethereum-provider

View File

@ -10,8 +10,8 @@
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[react-native.mail :as react-native-mail] [react-native.mail :as react-native-mail]
[react-native.platform :as platform] [react-native.platform :as platform]
[status-im2.common.log :as log] [status-im.common.log :as log]
[status-im2.config :as config] [status-im.config :as config]
[utils.datetime :as datetime] [utils.datetime :as datetime]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf])) [utils.re-frame :as rf]))

View File

@ -1,6 +1,6 @@
(ns legacy.status-im.utils.prices (ns legacy.status-im.utils.prices
(:require (:require
[status-im2.common.json-rpc.events :as json-rpc])) [status-im.common.json-rpc.events :as json-rpc]))
(defn- format-price-resp (defn- format-price-resp
[resp to mainnet?] [resp to mainnet?]

Some files were not shown because too many files have changed in this diff Show More