diff --git a/core/src/apps/management/reset_device/layout.py b/core/src/apps/management/reset_device/layout.py index b341a149d..b6a5606e5 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 cec522743..b519f7723 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: