Skip to content

Commit

Permalink
Fix tx fee display
Browse files Browse the repository at this point in the history
  • Loading branch information
steel97 committed Oct 16, 2024
1 parent 83dd516 commit 7422510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/signtx/stx_ui_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ bool ui_stx_add_transaction_screens(sign_transaction_ui_sign_confirm_ctx_t* ctx,
pairs_global[n_pairs].value = pair_mem_text[n_pairs];
ui_stx_display_tx_state(i, pair_mem_title[n_pairs], pair_mem_text[n_pairs], (void*) ctx);
// empty row (split screens for tokens)
if ((n_pairs + 1) % 3 == 0) {
if (((n_pairs + 1) % 2 == 0 && i != 1) ||
i == 2) { // first page should contain 3 rows, other 2
n_pairs++;
pair_list.nbMaxLinesForValue = 0;
pair_list.nbPairs = n_pairs;
Expand Down

0 comments on commit 7422510

Please sign in to comment.