mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
core: style
This commit is contained in:
parent
bf20537f41
commit
0b7a8449f8
@ -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):
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user