1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 00:28:10 +00:00

micro fix

This commit is contained in:
Peter Jensen 2017-03-21 13:15:04 +01:00
parent 416676120b
commit 96020a4953
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ def _render_pin_failure(sleep_ms: int):
ui.BOLD, ui.RED, ui.BLACK)
def _get_code_and_label(code: int) -> str:
def _get_code_and_label(code: int):
from trezor.messages import PinMatrixRequestType
if code is None:
code = PinMatrixRequestType.Current

View File

@ -36,7 +36,7 @@ class ConfirmDialog(Widget):
yield loop.Wait((super().__iter__(), self.content))
class HoldToConfirmDialog():
class HoldToConfirmDialog(Widget):
def __init__(self, content=None, hold='Hold to confirm', *args, **kwargs):
self.button = Button((0, 240 - 48, 240, 48), hold,