From 0b7a8449f8dd003fc415262b05102d113247d3de Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Mon, 30 Mar 2020 16:04:05 +0000 Subject: [PATCH] core: style --- core/src/apps/management/reset_device/layout.py | 4 +++- core/src/trezor/ui/confirm.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/src/apps/management/reset_device/layout.py b/core/src/apps/management/reset_device/layout.py index b341a149df..b6a5606e56 100644 --- a/core/src/apps/management/reset_device/layout.py +++ b/core/src/apps/management/reset_device/layout.py @@ -127,7 +127,9 @@ async def _show_share_words(ctx, share_words, share_index=None, group_index=None utils.ensure(share_words == shares_words_check) # confirm the share - await require_hold_to_confirm(ctx, paginated, ButtonRequestType.ResetDevice, cancel=False) + await require_hold_to_confirm( + ctx, paginated, ButtonRequestType.ResetDevice, cancel=False + ) def _split_share_into_pages(share_words): diff --git a/core/src/trezor/ui/confirm.py b/core/src/trezor/ui/confirm.py index cec5227431..b519f7723a 100644 --- a/core/src/trezor/ui/confirm.py +++ b/core/src/trezor/ui/confirm.py @@ -258,7 +258,9 @@ class HoldToConfirm(ui.Layout): self.cancel = None if cancel: - self.cancel = Button(ui.grid(16, n_x=4), res.load(ui.ICON_CANCEL), ButtonAbort) + self.cancel = Button( + ui.grid(16, n_x=4), res.load(ui.ICON_CANCEL), ButtonAbort + ) self.cancel.on_click = self.on_cancel # type: ignore def _on_press_start(self) -> None: