kivy: use app.num_chain
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user