Fat: INTER_REGULAR_32 is now INTER_MEDIUM_32
Replace BAGL_FONT_INTER_REGULAR_32px by BAGL_FONT_INTER_MEDIUM_32px. This change is valid starting from API_LEVEL_9
This commit is contained in:
committed by
abonnaudet-ledger
parent
4dc8a76f87
commit
bae2dd6e85
@@ -36,7 +36,7 @@ static uint32_t stringsIdx = 0;
|
||||
static bool displayTransactionPage(uint8_t page, nbgl_pageContent_t *content) {
|
||||
uint16_t len = 0;
|
||||
if (stringsIdx < strlen(strings.tmp.tmp)) {
|
||||
bool reached = nbgl_getTextMaxLenInNbLines(BAGL_FONT_INTER_REGULAR_32px,
|
||||
bool reached = nbgl_getTextMaxLenInNbLines(BAGL_FONT_INTER_MEDIUM_32px,
|
||||
strings.tmp.tmp + stringsIdx,
|
||||
SCREEN_WIDTH - (2 * BORDER_MARGIN),
|
||||
9,
|
||||
|
||||
@@ -43,7 +43,7 @@ static bool nav_callback(uint8_t page, nbgl_pageContent_t *content) {
|
||||
strings.tmp.tmp + stringsTmpTmpIdx,
|
||||
MIN(SHARED_BUFFER_SIZE - eip191MessageIdx, SHARED_BUFFER_SIZE - stringsTmpTmpIdx));
|
||||
uint16_t len = 0;
|
||||
bool reached = nbgl_getTextMaxLenInNbLines(BAGL_FONT_INTER_REGULAR_32px,
|
||||
bool reached = nbgl_getTextMaxLenInNbLines(BAGL_FONT_INTER_MEDIUM_32px,
|
||||
staxSharedBuffer,
|
||||
SCREEN_WIDTH - (2 * BORDER_MARGIN),
|
||||
9,
|
||||
|
||||
Reference in New Issue
Block a user