From 8dad9468d5018c81d72ea61bf31e2a2433936a08 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Thu, 6 Jun 2024 01:34:35 +0300 Subject: [PATCH] fix deprecated --- applications/services/gui/canvas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/services/gui/canvas.c b/applications/services/gui/canvas.c index 45a52d18b..b67b2faba 100644 --- a/applications/services/gui/canvas.c +++ b/applications/services/gui/canvas.c @@ -545,7 +545,7 @@ void canvas_draw_icon_bitmap( x += canvas->offset_x; y += canvas->offset_y; uint8_t* icon_data = NULL; - compress_icon_decode(canvas->compress_icon, icon_get_data(icon), &icon_data); + compress_icon_decode(canvas->compress_icon, icon_get_frame_data(icon, 0), &icon_data); u8g2_DrawXBM(&canvas->fb, x, y, w, h, icon_data); }