Browse Source
- simplify menu - add lightning network dialogdependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV
5 years ago
3 changed files with 65 additions and 13 deletions
@ -0,0 +1,28 @@ |
|||||
|
Popup: |
||||
|
id: ln |
||||
|
title: _('Lightning Network') |
||||
|
BoxLayout: |
||||
|
orientation: 'vertical' |
||||
|
ScrollView: |
||||
|
GridLayout: |
||||
|
id: scrollviewlayout |
||||
|
cols:1 |
||||
|
size_hint: 1, None |
||||
|
height: self.minimum_height |
||||
|
padding: '10dp' |
||||
|
SettingsItem: |
||||
|
value: _("{} connections.").format(app.lightning_gossip_num_peers) if app.lightning_gossip_num_peers else _("Not connected") |
||||
|
title: _("Gossip") + ': ' + self.value |
||||
|
description: _("Connections with lightning nodes") |
||||
|
CardSeparator |
||||
|
SettingsItem: |
||||
|
title: _("Nodes") + ': ' + str(app.lightning_gossip_num_nodes) |
||||
|
description: _("Nodes in database.") |
||||
|
CardSeparator |
||||
|
SettingsItem: |
||||
|
title: _("Channels") + ': ' + str(app.lightning_gossip_num_channels) |
||||
|
description: _("Channels in database.") |
||||
|
CardSeparator |
||||
|
SettingsItem: |
||||
|
title: _("Pending") + ': ' + str(app.lightning_gossip_num_queries) |
||||
|
description: _("Channel updates to query.") |
Loading…
Reference in new issue