mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-27 06:42:02 +00:00
legacy: add ToS dialog to recovery
(cherry picked from commit 28b22cef22
)
This commit is contained in:
parent
5209804fc3
commit
81553df02f
@ -482,7 +482,8 @@ void recovery_init(uint32_t _word_count, bool passphrase_protection,
|
|||||||
if (!dry_run) {
|
if (!dry_run) {
|
||||||
layoutDialogSwipe(&bmp_icon_question, _("Cancel"), _("Confirm"), NULL,
|
layoutDialogSwipe(&bmp_icon_question, _("Cancel"), _("Confirm"), NULL,
|
||||||
_("Do you really want to"), _("recover the device?"),
|
_("Do you really want to"), _("recover the device?"),
|
||||||
NULL, NULL, NULL, NULL);
|
NULL, _("By continuing you"), _("agree to trezor.io/tos"),
|
||||||
|
NULL);
|
||||||
if (!protectButton(ButtonRequestType_ButtonRequest_ProtectCall, false)) {
|
if (!protectButton(ButtonRequestType_ButtonRequest_ProtectCall, false)) {
|
||||||
fsm_sendFailure(FailureType_Failure_ActionCancelled, NULL);
|
fsm_sendFailure(FailureType_Failure_ActionCancelled, NULL);
|
||||||
layoutHome();
|
layoutHome();
|
||||||
|
Loading…
Reference in New Issue
Block a user