legacy: add ToS dialog to recovery

(cherry picked from commit 28b22cef22)
release/2020-06
Tomas Susanka 4 years ago
parent 5209804fc3
commit 81553df02f

@ -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();

Loading…
Cancel
Save