From 858ab99cecf11cbf3d662b423b9d3f05406eb2d3 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Fri, 26 May 2023 19:21:26 +0300 Subject: [PATCH] don't put subrem_ in name by default --- .../scenes/subrem_scene_enter_new_name.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/applications/external/subghz_remote_configurator/scenes/subrem_scene_enter_new_name.c b/applications/external/subghz_remote_configurator/scenes/subrem_scene_enter_new_name.c index d33e070af..b829723a3 100644 --- a/applications/external/subghz_remote_configurator/scenes/subrem_scene_enter_new_name.c +++ b/applications/external/subghz_remote_configurator/scenes/subrem_scene_enter_new_name.c @@ -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, "");