Skip to content

Commit

Permalink
fix deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Jun 5, 2024
1 parent 8938cbf commit 8dad946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/services/gui/canvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8dad946

Please sign in to comment.