Fixes
This commit is contained in:
committed by
Charles-Edouard de la Vergne
parent
18889d667b
commit
e503373411
@@ -93,6 +93,13 @@ static uint8_t setTagValuePairs(void) {
|
||||
|
||||
// Setup data to display
|
||||
if (tx_approval_context.fromPlugin) {
|
||||
if (pluginType != EXTERNAL) {
|
||||
if (strings.common.fromAddress[0] != 0) {
|
||||
pairs[nbPairs].item = "From";
|
||||
pairs[nbPairs].value = strings.common.fromAddress;
|
||||
nbPairs++;
|
||||
}
|
||||
}
|
||||
for (pairIndex = 0; pairIndex < dataContext.tokenContext.pluginUiMaxItems; pairIndex++) {
|
||||
// for the next dataContext.tokenContext.pluginUiMaxItems items, get tag/value from
|
||||
// plugin_ui_get_item_internal()
|
||||
@@ -143,15 +150,16 @@ static uint8_t setTagValuePairs(void) {
|
||||
#ifdef HAVE_DOMAIN_NAME
|
||||
}
|
||||
#endif
|
||||
pairs[nbPairs].item = "Max fees";
|
||||
pairs[nbPairs].value = strings.common.maxFee;
|
||||
nbPairs++;
|
||||
|
||||
if (N_storage.displayNonce) {
|
||||
pairs[nbPairs].item = "Nonce";
|
||||
pairs[nbPairs].value = strings.common.nonce;
|
||||
nbPairs++;
|
||||
}
|
||||
|
||||
pairs[nbPairs].item = "Max fees";
|
||||
pairs[nbPairs].value = strings.common.maxFee;
|
||||
nbPairs++;
|
||||
|
||||
if (tx_approval_context.displayNetwork) {
|
||||
pairs[nbPairs].item = "Network";
|
||||
pairs[nbPairs].value = strings.common.network_name;
|
||||
|
||||
Reference in New Issue
Block a user