Port new naming scheme to apps

This commit is contained in:
Willy-JL
2023-09-02 17:16:21 +02:00
parent 6d8ef70f28
commit 58355994ec
12 changed files with 21 additions and 21 deletions

View File

@@ -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) {

View File

@@ -15,7 +15,7 @@
#include <gui/modules/text_input.h>
#include <storage/storage.h>
#include <toolbox/path.h>
#include <toolbox/random_name.h>
#include <toolbox/name_generator.h>
#include "scenes/spi_mem_scene.h"
#include "lib/spi/spi_mem_worker.h"
#include "spi_mem_manager_icons.h"