mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
don't put subrem_ in name by default
This commit is contained in:
parent
c4cba38559
commit
858ab99cec
1 changed files with 2 additions and 3 deletions
|
@ -14,9 +14,8 @@ void subrem_scene_enter_new_name_on_enter(void* context) {
|
|||
|
||||
// Setup view
|
||||
TextInput* text_input = app->text_input;
|
||||
bool dev_name_empty = false;
|
||||
|
||||
strncpy(app->file_name_tmp, "subrem_", SUBREM_MAX_LEN_NAME);
|
||||
//strncpy(app->file_name_tmp, "subrem_", SUBREM_MAX_LEN_NAME);
|
||||
text_input_set_header_text(text_input, "Map file Name");
|
||||
text_input_set_result_callback(
|
||||
text_input,
|
||||
|
@ -24,7 +23,7 @@ void subrem_scene_enter_new_name_on_enter(void* context) {
|
|||
app,
|
||||
app->file_name_tmp,
|
||||
25,
|
||||
dev_name_empty);
|
||||
false);
|
||||
|
||||
ValidatorIsFile* validator_is_file = validator_is_file_alloc_init(
|
||||
furi_string_get_cstr(app->file_path), SUBREM_APP_EXTENSION, "");
|
||||
|
|
Loading…
Reference in a new issue