From cd30043aa761dadab9f3762066b4605d0a564a9b Mon Sep 17 00:00:00 2001 From: rdefeo Date: Sat, 1 Jun 2024 12:07:48 -0400 Subject: [PATCH] change icon_get_data to icon_get_frame_data --- scenes/scene_action_settings.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scenes/scene_action_settings.c b/scenes/scene_action_settings.c index 1afa4129d6f..edaf6646f5b 100644 --- a/scenes/scene_action_settings.c +++ b/scenes/scene_action_settings.c @@ -76,15 +76,15 @@ static bool scene_action_settings_import_file_browser_callback( char ext[MAX_EXT_LEN]; path_extract_extension(path, ext, MAX_EXT_LEN); if(!strcmp(ext, ".sub")) { - memcpy(*icon, icon_get_data(&I_SubGHz_10px), 32); // TODO: find the right size! + memcpy(*icon, icon_get_frame_data(&I_SubGHz_10px, 0), 32); // TODO: find the right size! } else if(!strcmp(ext, ".rfid")) { - memcpy(*icon, icon_get_data(&I_RFID_10px), 32); + memcpy(*icon, icon_get_frame_data(&I_RFID_10px, 0), 32); } else if(!strcmp(ext, ".ir")) { - memcpy(*icon, icon_get_data(&I_IR_10px), 32); + memcpy(*icon, icon_get_frame_data(&I_IR_10px, 0), 32); } else if(!strcmp(ext, ".nfc")) { - memcpy(*icon, icon_get_data(&I_NFC_10px), 32); + memcpy(*icon, icon_get_frame_data(&I_NFC_10px, 0), 32); } else if(!strcmp(ext, ".qpl")) { - memcpy(*icon, icon_get_data(&I_Playlist_10px), 32); + memcpy(*icon, icon_get_frame_data(&I_Playlist_10px, 0), 32); } else { return false; }