1
0
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:
Lukas Bielesch 2025-02-26 12:05:19 +01:00
parent 2ecc31aeee
commit c8085ff75c

View File

@ -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,
),