fix for new sdk

This commit is contained in:
Clement Bouvet
2023-02-07 18:05:56 +01:00
parent b7f83c1581
commit f5e3814d58
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -24,6 +24,7 @@ static void reviewChoice(bool confirm) {
static void buildScreen(void) {
snprintf(strings.tmp.tmp, 100, "0x%.*H", 48, tmpCtx.publicKeyContext.publicKey.W);
nbgl_useCaseChoice(
&C_warning64px,
"Export ETH2 public key?",
"Allow the Ethereum app\nto export your ETH2\npublic key.",
"Allow",
+1
View File
@@ -24,6 +24,7 @@ static void reviewChoice(bool confirm) {
static void buildScreen(void) {
snprintf(strings.tmp.tmp, 100, "0x%.*H", 48, tmpCtx.publicKeyContext.publicKey.W);
nbgl_useCaseChoice(
&C_warning64px,
"Export ETH public key?",
"Allow the Ethereum app\nto export your\npublic key.",
"Allow",
+1
View File
@@ -23,6 +23,7 @@ static void reviewChoice(bool confirm) {
static void buildScreen(void) {
nbgl_useCaseChoice(
&C_warning64px,
"Verify stark key",
strings.tmp.tmp,
"Approuve",
+2 -1
View File
@@ -100,7 +100,8 @@ static void confirm_transaction_rejection_choice(bool confirm) {
}
static void confirm_transaction_rejection() {
nbgl_useCaseChoice("Reject message?",
nbgl_useCaseChoice(&C_warning64px,
"Reject message?",
NULL,
"Yes, Reject",
"Go back to message",