From 2ae666a5e0192c97036d5dd3bbba0a5b94ffd832 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Thu, 21 Feb 2019 15:45:37 +0200 Subject: [PATCH] Add back :mobile-network-settings route It was unintentionally removed during nav refactoring. --- src/status_im/ui/screens/routing/profile_stack.cljs | 1 + src/status_im/ui/screens/routing/screens.cljs | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/status_im/ui/screens/routing/profile_stack.cljs b/src/status_im/ui/screens/routing/profile_stack.cljs index 9885a012e2..f911cf9328 100644 --- a/src/status_im/ui/screens/routing/profile_stack.cljs +++ b/src/status_im/ui/screens/routing/profile_stack.cljs @@ -26,6 +26,7 @@ :log-level-settings :fleet-settings :currency-settings + :mobile-network-settings :backup-seed :qr-scanner] diff --git a/src/status_im/ui/screens/routing/screens.cljs b/src/status_im/ui/screens/routing/screens.cljs index e5b103c17d..3dc4f2c956 100644 --- a/src/status_im/ui/screens/routing/screens.cljs +++ b/src/status_im/ui/screens/routing/screens.cljs @@ -54,7 +54,8 @@ [status-im.ui.screens.profile.seed.views :as profile.seed] [status-im.ui.screens.about-app.views :as about-app] [status-im.ui.screens.stickers.views :as stickers] - [status-im.ui.screens.dapps-permissions.views :as dapps-permissions])) + [status-im.ui.screens.dapps-permissions.views :as dapps-permissions] + [status-im.ui.screens.mobile-network-settings.view :as mobile-network-settings])) (def all-screens {:login login/login @@ -139,7 +140,8 @@ :currency-settings currency-settings/currency-settings :backup-seed profile.seed/backup-seed :reset-card hardwallet.settings/reset-card - :keycard-settings hardwallet.settings/keycard-settings}) + :keycard-settings hardwallet.settings/keycard-settings + :mobile-network-settings mobile-network-settings/mobile-network-settings}) (defn get-screen [screen] (get all-screens screen #(throw (str "Screen " screen " is not defined."))))