returned network-badge

This commit is contained in:
Andrey Shovkoplyas 2017-10-17 15:06:46 +03:00 committed by Roman Volosovskyi
parent e6f8eec7c5
commit 23c663f3ef
1 changed files with 14 additions and 11 deletions

View File

@ -28,6 +28,9 @@
[react/view {:flex 1} [react/view {:flex 1}
[status-bar/status-bar] [status-bar/status-bar]
[new-toolbar/toolbar] [new-toolbar/toolbar]
[network-settings/network-badge
{:name name
:connected? connected?}]
(when-not connected? (when-not connected?
[react/touchable-highlight {:on-press #(rf/dispatch [:connect-network id])} [react/touchable-highlight {:on-press #(rf/dispatch [:connect-network id])}
[react/view st/connect-button-container [react/view st/connect-button-container