cleanup setup (#14827)

This commit is contained in:
flexsurfer 2023-01-19 12:15:28 +01:00 committed by GitHub
parent 2899819e95
commit e8e8547879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 18 deletions

View File

@ -38,7 +38,7 @@
{:mobile {:mobile
{:target :react-native {:target :react-native
:output-dir "app" :output-dir "app"
:init-fn status-im2.setup.core/init :init-fn status-im2.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!`.

View File

@ -42,7 +42,7 @@
[status-im2.contexts.activity-center.events :as activity-center] [status-im2.contexts.activity-center.events :as activity-center]
[status-im2.contexts.chat.messages.link-preview.events :as link-preview] [status-im2.contexts.chat.messages.link-preview.events :as link-preview]
[status-im2.navigation.events :as navigation] [status-im2.navigation.events :as navigation]
[status-im2.setup.log :as logging] [status-im2.common.log :as logging]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[utils.security.core :as security])) [utils.security.core :as security]))

View File

@ -7,7 +7,7 @@
[utils.re-frame :as rf] [utils.re-frame :as rf]
[status-im.utils.keychain.core :as keychain] [status-im.utils.keychain.core :as keychain]
[status-im.wallet.core :as wallet] [status-im.wallet.core :as wallet]
[status-im2.setup.events :as init])) [status-im2.events :as init]))
(rf/defn logout-method (rf/defn logout-method
{:events [::logout-method]} {:events [::logout-method]}

View File

@ -13,7 +13,7 @@
[utils.datetime :as datetime] [utils.datetime :as datetime]
[status-im.utils.platform :as platform] [status-im.utils.platform :as platform]
[status-im.utils.types :as types] [status-im.utils.types :as types]
[status-im2.setup.log :as log])) [status-im2.common.log :as log]))
(def report-email "error-reports@status.im") (def report-email "error-reports@status.im")

View File

@ -1,4 +1,4 @@
(ns status-im2.setup.log (ns status-im2.common.log
(:require [clojure.string :as string] (:require [clojure.string :as string]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im2.config :as config] [status-im2.config :as config]

View File

@ -1,4 +1,4 @@
(ns status-im2.setup.core (ns status-im2.core
(:require (:require
[utils.i18n :as i18n] [utils.i18n :as i18n]
[status-im2.setup.i18n-resources :as i18n-resources] [status-im2.setup.i18n-resources :as i18n-resources]
@ -9,19 +9,18 @@
[react-native.platform :as platform] [react-native.platform :as platform]
[react-native.shake :as react-native-shake] [react-native.shake :as react-native-shake]
[reagent.impl.batching :as batching] [reagent.impl.batching :as batching]
[status-im2.contexts.shell.animation :as animation]
[status-im2.config :as config]
[status-im2.setup.dev :as dev]
[status-im2.setup.global-error :as global-error]
[status-im2.common.log :as log]
[status-im.async-storage.core :as async-storage] [status-im.async-storage.core :as async-storage]
status-im.events
[status-im.native-module.core :as status] [status-im.native-module.core :as status]
[status-im.notifications.local :as notifications] [status-im.notifications.local :as notifications]
[status-im.utils.universal-links.core :as utils.universal-links] [status-im.utils.universal-links.core :as utils.universal-links]
[status-im2.contexts.shell.animation :as animation] status-im.events
status-im2.contexts.syncing.events status-im2.events
status-im2.navigation.core status-im2.navigation.core
[status-im2.config :as config]
[status-im2.setup.dev :as dev]
status-im2.setup.events
[status-im2.setup.global-error :as global-error]
[status-im2.setup.log :as log]
status-im2.subs.root)) status-im2.subs.root))
;;;; re-frame RN setup ;;;; re-frame RN setup

View File

@ -1,4 +1,4 @@
(ns status-im2.setup.db (ns status-im2.db
(:require [react-native.core :as rn] (:require [react-native.core :as rn]
[status-im.fleet.core :as fleet] [status-im.fleet.core :as fleet]
[status-im.wallet.db :as wallet.db] [status-im.wallet.db :as wallet.db]

View File

@ -1,4 +1,4 @@
(ns status-im2.setup.events (ns status-im2.events
(:require [clojure.string :as string] (:require [clojure.string :as string]
[quo.theme :as quo.theme] [quo.theme :as quo.theme]
[quo2.theme :as quo2.theme] [quo2.theme :as quo2.theme]
@ -10,9 +10,10 @@
[status-im2.common.theme.core :as theme] [status-im2.common.theme.core :as theme]
[status-im2.common.toasts.events] [status-im2.common.toasts.events]
[status-im2.navigation.events :as navigation] [status-im2.navigation.events :as navigation]
[status-im2.setup.db :as db] [status-im2.db :as db]
[utils.re-frame :as rf] [utils.re-frame :as rf]
[utils.datetime :as datetime])) [utils.datetime :as datetime]
status-im2.contexts.syncing.events))
(re-frame/reg-cofx (re-frame/reg-cofx
:now :now