pull/25/head
Jan Pochyla 7 years ago
parent 128bb83e1b
commit e923b885af

@ -9,4 +9,8 @@ ignore =
# E402: module level import not at top of file
E402,
# E501: line too long
E501
E501,
# F403: star import used, unable to detect undefined names
F403,
# F405: name may be undefined, or defined from star imports
F405

@ -8,6 +8,7 @@ if __debug__:
DEFAULT_CANCEL = res.load(ui.ICON_CLEAR)
DEFAULT_LOCK = res.load(ui.ICON_LOCK)
@unimport
async def request_pin_on_display(ctx: wire.Context, code: int=None) -> str:
from trezor.messages.ButtonRequest import ButtonRequest

@ -10,6 +10,7 @@ CANCELLED = const(2)
DEFAULT_CONFIRM = res.load(ui.ICON_CONFIRM)
DEFAULT_CANCEL = res.load(ui.ICON_CLEAR)
class ConfirmDialog(Widget):
def __init__(self, content, confirm=DEFAULT_CONFIRM, cancel=DEFAULT_CANCEL):

Loading…
Cancel
Save