kivy: disable password dialog for watching-only wallets
This commit is contained in:
@@ -66,6 +66,7 @@ Builder.load_string('''
|
|||||||
height: '48dp'
|
height: '48dp'
|
||||||
SettingsItem:
|
SettingsItem:
|
||||||
status: 'ON' if app.wallet.use_encryption else 'OFF'
|
status: 'ON' if app.wallet.use_encryption else 'OFF'
|
||||||
|
disabled: app.wallet.is_watching_only()
|
||||||
title: _('PIN code') + ': ' + self.status
|
title: _('PIN code') + ': ' + self.status
|
||||||
description: _("Change your PIN code.")
|
description: _("Change your PIN code.")
|
||||||
action: partial(root.change_password, self)
|
action: partial(root.change_password, self)
|
||||||
|
|||||||
Reference in New Issue
Block a user