Add back :mobile-network-settings route

It was unintentionally removed during nav refactoring.
This commit is contained in:
Roman Volosovskyi 2019-02-21 15:45:37 +02:00
parent c9994b5d0f
commit 2ae666a5e0
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,7 @@
:log-level-settings
:fleet-settings
:currency-settings
:mobile-network-settings
:backup-seed
:qr-scanner]

View File

@ -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."))))