Skip to content

Commit 5aa6220

Browse files
committed
New naming fixes part 1
thanks @Willy-JL !
1 parent a26aa0f commit 5aa6220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scenes/mag_scene_input_name.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <lib/toolbox/random_name.h>
1+
#include <toolbox/name_generator.h>
22
#include "../mag_i.h"
33

44
void mag_scene_input_name_on_enter(void* context) {
@@ -13,7 +13,7 @@ void mag_scene_input_name_on_enter(void* context) {
1313

1414
if(name_is_empty) {
1515
furi_string_set(mag->file_path, MAG_APP_FOLDER);
16-
set_random_name(mag->text_store, MAG_TEXT_STORE_SIZE);
16+
name_generator_make_auto(mag->text_store, MAG_TEXT_STORE_SIZE, "Mag");
1717
furi_string_set(folder_path, MAG_APP_FOLDER);
1818
} else {
1919
// TODO: compatible types etc

0 commit comments

Comments
 (0)