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(
|
||||
title=TR.words__important,
|
||||
value=TR.reset__never_make_digital_copy,
|
||||
button="",
|
||||
allow_cancel=False,
|
||||
button=TR.buttons__continue,
|
||||
allow_cancel=True,
|
||||
danger=False, # Use a less severe icon color
|
||||
),
|
||||
"backup_warning",
|
||||
@ -324,9 +324,9 @@ def show_reset_warning(
|
||||
return raise_if_not_confirmed(
|
||||
trezorui_api.show_warning(
|
||||
title=subheader or "",
|
||||
description=content,
|
||||
value="",
|
||||
button="",
|
||||
description="",
|
||||
value=content,
|
||||
button=button or "",
|
||||
allow_cancel=False,
|
||||
danger=True,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user