From 7de6ad426417a22cc459aa2d0707c0ce39388f26 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 4 Sep 2023 18:44:28 +0300 Subject: [PATCH] New naming fixes part 1 thanks @Willy-JL ! --- scenes/spi_mem_scene_read_filename.c | 2 +- spi_mem_app_i.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scenes/spi_mem_scene_read_filename.c b/scenes/spi_mem_scene_read_filename.c index 4b16baa2efb..478f162c46e 100644 --- a/scenes/spi_mem_scene_read_filename.c +++ b/scenes/spi_mem_scene_read_filename.c @@ -11,7 +11,7 @@ void spi_mem_scene_read_set_random_filename(SPIMemApp* app) { size_t filename_start = furi_string_search_rchar(app->file_path, '/'); furi_string_left(app->file_path, filename_start); } - set_random_name(app->text_buffer, SPI_MEM_TEXT_BUFFER_SIZE); + name_generator_make_auto(app->text_buffer, SPI_MEM_TEXT_BUFFER_SIZE, TAG); } void spi_mem_scene_read_filename_on_enter(void* context) { diff --git a/spi_mem_app_i.h b/spi_mem_app_i.h index 285ca66d2f3..1e76db4b6f9 100644 --- a/spi_mem_app_i.h +++ b/spi_mem_app_i.h @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include "scenes/spi_mem_scene.h" #include "lib/spi/spi_mem_worker.h" #include "spi_mem_manager_icons.h"