[FL-1281] Unlocked screen fix+ (#556)
* Dolphin app: fix "Unlocked" popup timeout on menu enter * FL-1404: fix word wrap index
This commit is contained in:
@@ -236,7 +236,7 @@ void elements_multiline_text_aligned(
|
||||
string_t buff;
|
||||
string_init_set(buff, str);
|
||||
size_t s_len = string_size(str);
|
||||
uint8_t end_pos = s_len - ((len_px - px_left) / (len_px / s_len) + 2);
|
||||
uint8_t end_pos = s_len - ((len_px - px_left) / (len_px / s_len) + 5);
|
||||
|
||||
string_left(buff, end_pos);
|
||||
string_cat(buff, "-");
|
||||
|
Reference in New Issue
Block a user