Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
New naming fixes part 1
Browse files Browse the repository at this point in the history
thanks @Willy-JL !
  • Loading branch information
xMasterX committed Sep 4, 2023
1 parent a26aa0f commit 5aa6220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scenes/mag_scene_input_name.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <lib/toolbox/random_name.h>
#include <toolbox/name_generator.h>
#include "../mag_i.h"

void mag_scene_input_name_on_enter(void* context) {
Expand All @@ -13,7 +13,7 @@ void mag_scene_input_name_on_enter(void* context) {

if(name_is_empty) {
furi_string_set(mag->file_path, MAG_APP_FOLDER);
set_random_name(mag->text_store, MAG_TEXT_STORE_SIZE);
name_generator_make_auto(mag->text_store, MAG_TEXT_STORE_SIZE, "Mag");
furi_string_set(folder_path, MAG_APP_FOLDER);
} else {
// TODO: compatible types etc
Expand Down

0 comments on commit 5aa6220

Please sign in to comment.