We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26aa0f commit 5aa6220Copy full SHA for 5aa6220
scenes/mag_scene_input_name.c
@@ -1,4 +1,4 @@
1
-#include <lib/toolbox/random_name.h>
+#include <toolbox/name_generator.h>
2
#include "../mag_i.h"
3
4
void mag_scene_input_name_on_enter(void* context) {
@@ -13,7 +13,7 @@ void mag_scene_input_name_on_enter(void* context) {
13
14
if(name_is_empty) {
15
furi_string_set(mag->file_path, MAG_APP_FOLDER);
16
- set_random_name(mag->text_store, MAG_TEXT_STORE_SIZE);
+ name_generator_make_auto(mag->text_store, MAG_TEXT_STORE_SIZE, "Mag");
17
furi_string_set(folder_path, MAG_APP_FOLDER);
18
} else {
19
// TODO: compatible types etc
0 commit comments