1
0

kivy: use app.num_chain

This commit is contained in:
ThomasV
2017-07-19 09:46:48 +02:00
parent b424a83a57
commit 12b62fb27d
2 changed files with 5 additions and 3 deletions

View File

@@ -46,8 +46,8 @@ Popup:
CardSeparator
SettingsItem:
title: _('Fork detected at block %d')%app.blockchain_checkpoint if app.blockchain_checkpoint else _('No fork detected')
title: _('Fork detected at block %d')%app.blockchain_checkpoint if app.num_chains>1 else _('No fork detected')
fork_description: (_('You are following branch') if app.auto_connect else _("Your server is on branch")) + ' ' + app.blockchain_name
description: self.fork_description if app.blockchain_checkpoint else ''
description: self.fork_description if app.num_chains>1 else _('Connected nodes are on the same chain')
action: app.choose_blockchain_dialog
disabled: app.blockchain_checkpoint == 0
disabled: app.num_chains == 1