Fleet settings: use fleet names from the JSON file.

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
Igor Mandrigin 2018-09-25 13:44:57 +02:00 committed by yenda
parent 261089f568
commit a87f79ab4d
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
[status-im.ui.components.status-bar.view :as status-bar]
[status-im.ui.components.toolbar.view :as toolbar]
[status-im.ui.screens.fleet-settings.styles :as styles]
[status-im.fleet.core :as fleet-core]
[status-im.utils.platform :as platform])
(:require-macros [status-im.utils.views :as views]))
@ -34,7 +35,7 @@
fleet]]]])))
(def fleets
["eth.staging" "eth.beta" "eth.test"])
(map name (keys fleet-core/fleets)))
(views/defview fleet-settings []
(views/letsubs [current-fleet [:settings/current-fleet]]