Skip to content

Commit

Permalink
clean unneeded format
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed Sep 14, 2022
1 parent dc96431 commit d275181
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
3 changes: 1 addition & 2 deletions src/status_im/mailserver/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
{:events [::request-success]}
[{:keys [db] :as cofx} response-js]
{:db (dissoc db :mailserver/current-request)
:dispatch-n [[:sanitize-messages-and-process-response response-js]
[:wallet-connect-legacy/get-connector-session-from-db]]})
:dispatch-n [:sanitize-messages-and-process-response response-js]})

(fx/defn handle-mailserver-not-working [{:keys [db] :as cofx}]
(let [current-fleet (node/current-fleet-key db)
Expand Down
9 changes: 6 additions & 3 deletions src/status_im/network/net_info.cljs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
(ns status-im.network.net-info
(:require [re-frame.core :as re-frame]
[status-im.native-module.core :as status]
(:require ["@react-native-community/netinfo" :default net-info]
[re-frame.core :as re-frame]
[status-im.mobile-sync-settings.core :as mobile-network]
[status-im.native-module.core :as status]
[status-im.utils.fx :as fx]
[status-im.wallet-connect-legacy.core :as wallet-connect-legacy]
[status-im.wallet.core :as wallet]
["@react-native-community/netinfo" :default net-info]
[taoensso.timbre :as log]))

(fx/defn change-network-status
Expand Down Expand Up @@ -39,6 +40,8 @@
"type" type
"details" details)
(fx/merge cofx
(when connectivity-status
(wallet-connect-legacy/get-connector-session-from-db))
(when-not status-changed?
(change-network-status isConnected))
(when-not type-changed?
Expand Down
18 changes: 10 additions & 8 deletions src/status_im/ui/screens/wallet/manage_connections/views.cljs
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
(ns status-im.ui.screens.wallet.manage-connections.views
(:require [quo.core :as quo]
[quo.design-system.colors :as colors]
(:require [re-frame.core :as re-frame]
[quo.react-native :as rn]
[re-frame.core :as re-frame]
[reagent.core :as reagent]
[status-im.ui.components.bottom-panel.views :as bottom-panel]
[status-im.ui.components.icons.icons :as icons]
[status-im.ui.components.react :as react]
[status-im.ui.screens.wallet-connect.session-proposal.views :refer [app-management-sheet-view]]
[status-im.ui.screens.wallet.manage-connections.styles :as styles]
[quo.core :as quo]
[quo.design-system.colors :as colors]
[status-im.ui.components.icons.icons :as icons]
[status-im.utils.utils :as utils]
[status-im.ui.screens.wallet-connect.session-proposal.views :refer [app-management-sheet-view]]
[status-im.ui.components.bottom-panel.views :as bottom-panel]
[status-im.utils.handlers :refer [<sub]]
[status-im.utils.utils :as utils]))
[reagent.core :as reagent]))



(defn account-selector-bottom-sheet [{:keys [session show-account-selector? idx]}]
(when @show-account-selector?
Expand Down

0 comments on commit d275181

Please sign in to comment.