fix display network
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user