mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-28 15:22:14 +00:00
chore(eckhart): update reset warning function
This commit is contained in:
parent
2ecc31aeee
commit
c8085ff75c
@ -296,8 +296,8 @@ def show_warning_backup() -> Awaitable[ui.UiResult]:
|
|||||||
trezorui_api.show_warning(
|
trezorui_api.show_warning(
|
||||||
title=TR.words__important,
|
title=TR.words__important,
|
||||||
value=TR.reset__never_make_digital_copy,
|
value=TR.reset__never_make_digital_copy,
|
||||||
button="",
|
button=TR.buttons__continue,
|
||||||
allow_cancel=False,
|
allow_cancel=True,
|
||||||
danger=False, # Use a less severe icon color
|
danger=False, # Use a less severe icon color
|
||||||
),
|
),
|
||||||
"backup_warning",
|
"backup_warning",
|
||||||
@ -324,9 +324,9 @@ def show_reset_warning(
|
|||||||
return raise_if_not_confirmed(
|
return raise_if_not_confirmed(
|
||||||
trezorui_api.show_warning(
|
trezorui_api.show_warning(
|
||||||
title=subheader or "",
|
title=subheader or "",
|
||||||
description=content,
|
description="",
|
||||||
value="",
|
value=content,
|
||||||
button="",
|
button=button or "",
|
||||||
allow_cancel=False,
|
allow_cancel=False,
|
||||||
danger=True,
|
danger=True,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user