1
0

add blockchain.get_name method, update kivy gui

This commit is contained in:
ThomasV
2017-07-19 09:29:20 +02:00
parent 9576f8510d
commit b424a83a57
5 changed files with 22 additions and 37 deletions

View File

@@ -46,9 +46,8 @@ Popup:
CardSeparator
SettingsItem:
title: app.blockchain_info()
title: _('Fork detected at block %d')%app.blockchain_checkpoint if app.blockchain_checkpoint else _('No fork detected')
fork_description: (_('You are following branch') if app.auto_connect else _("Your server is on branch")) + ' ' + app.blockchain_name
description: _('Everything is fine') if self.disabled else self.fork_description
description: self.fork_description if app.blockchain_checkpoint else ''
action: app.choose_blockchain_dialog
disabled: len(app.network.blockchains) == 1
disabled: app.blockchain_checkpoint == 0