eip712 wording

This commit is contained in:
Clement Bouvet
2023-02-07 18:05:56 +01:00
parent 2603c0aac3
commit fd26634471
+6 -4
View File
@@ -19,9 +19,11 @@ static void confirmTransation(void) {
static void reviewChoice(bool confirm) {
if (confirm) {
confirmTransation();
} else {
reviewReject();
// display a status page and go back to main
nbgl_useCaseStatus("MESSAGE\nSIGNED",true,confirmTransation);
}
else {
nbgl_useCaseStatus("Message signing\ncancelled",false,reviewReject);
}
}
@@ -43,7 +45,7 @@ static bool displayTransactionPage(uint8_t page, nbgl_pageContent_t *content) {
content->type = INFO_LONG_PRESS,
content->infoLongPress.icon = &ICONGLYPH;
content->infoLongPress.text = "Sign typed message";
content->infoLongPress.longPressText = "Hold to approuve";
content->infoLongPress.longPressText = "Hold to sign";
}
else {
return false;