Update naming include

This commit is contained in:
Eric Betts
2023-09-15 18:04:33 -07:00
parent 7d78be8ef7
commit fdea5cb5cb
+2 -2
View File
@@ -1,5 +1,5 @@
#include "../seader_i.h"
#include <lib/toolbox/random_name.h>
#include <lib/toolbox/name_generator.h>
#include <gui/modules/validators.h>
#include <toolbox/path.h>
@@ -16,7 +16,7 @@ void seader_scene_save_name_on_enter(void* context) {
TextInput* text_input = seader->text_input;
bool cred_name_empty = false;
if(!strcmp(seader->credential->name, "")) {
set_random_name(seader->text_store, sizeof(seader->text_store));
name_generator_make_random(seader->text_store, sizeof(seader->text_store));
cred_name_empty = true;
} else {
seader_text_store_set(seader, seader->credential->name);