Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgornekich <n.gorbadey@gmail.com>2021-10-05 08:14:19 +0300
committerGitHub <noreply@github.com>2021-10-05 08:14:19 +0300
commit42e553bad525a0ae159a4c4814267d5cca3ae5d8 (patch)
treeae6dde72ed9ba4ff94f06341ecb1fb1e97fbf012 /applications/gui
parent73a13f584feb1854918f255ac2e953e1db277452 (diff)
[FL-1723, FL-1662, FL-1870] NFC bug fixes (#745)
* nfc: fix notifications in read EMV sequence * nfc: set focus on previously saved card * nfc: add incorrect file format message * mifare ultralight: increase size of max dump * elements: draw multiline text only until it fits screen * nfc: support variable PAN number length * nfc: change AID display * nfc: change worker custom event to prevent scene reenter * nfc: double check for PAN tag * nfc: fix edit card name appearance * Nfc: read EMV card without name if PDOL is present. * Desktop: increase unlock key press interval, switch to OS ticks instead of HAL. * Desktop: remove debug logging Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
Diffstat (limited to 'applications/gui')
-rw-r--r--applications/gui/elements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/gui/elements.c b/applications/gui/elements.c
index 8b1112b3..4a577780 100644
--- a/applications/gui/elements.c
+++ b/applications/gui/elements.c
@@ -278,7 +278,7 @@ void elements_multiline_text(Canvas* canvas, uint8_t x, uint8_t y, const char* t
canvas_draw_str(canvas, x, y, string_get_cstr(str));
start = end + 1;
y += font_height;
- } while(end);
+ } while(end && y < 64);
string_clear(str);
}