fix display network

This commit is contained in:
Clement Bouvet
2022-12-01 15:27:20 +01:00
parent bfeaf41b6e
commit f4d3f929f0
+5 -1
View File
@@ -91,6 +91,7 @@ static nbgl_layoutTagValue_t* getTagValuePair(uint8_t pairIndex) {
if ((pairIndex > 1) && (!N_storage.displayNonce)) {
pairIndex++;
}
switch (pairIndex) {
case 0:
tlv.item = "Amount";
@@ -172,10 +173,13 @@ static void reviewContinueCommon(void) {
nbPairs ++;
}
} else {
nbPairs += 4;
nbPairs += 3;
if (N_storage.displayNonce) {
nbPairs ++;
}
if (tx_approval_context.displayNetwork) {
nbPairs ++;
}
}
useCaseTagValueList.pairs = NULL;