1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-09 06:50:58 +00:00

legacy: add ToS dialog to recovery

This commit is contained in:
Tomas Susanka 2020-05-25 18:43:31 +00:00 committed by Pavol Rusnak
parent 554d8949f5
commit 28b22cef22

View File

@ -482,7 +482,8 @@ void recovery_init(uint32_t _word_count, bool passphrase_protection,
if (!dry_run) {
layoutDialogSwipe(&bmp_icon_question, _("Cancel"), _("Confirm"), NULL,
_("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)) {
fsm_sendFailure(FailureType_Failure_ActionCancelled, NULL);
layoutHome();