fix text bug

This commit is contained in:
MX 2023-07-02 10:01:57 +03:00
parent 394224b3a3
commit ad12071f4c
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -282,6 +282,7 @@ void subghz_view_receiver_draw(Canvas* canvas, SubGhzViewReceiverModel* model) {
} else {
canvas_set_color(canvas, ColorBlack);
}
elements_string_fit_width(canvas, str_buff, scrollbar ? MAX_LEN_PX - 7 : MAX_LEN_PX);
canvas_draw_icon(canvas, 4, 2 + i * FRAME_HEIGHT, ReceiverItemIcons[item_menu->type]);
canvas_draw_str(canvas, 15, 9 + i * FRAME_HEIGHT, furi_string_get_cstr(str_buff));
furi_string_reset(str_buff);