diff --git a/scenes/nfc_playlist_scene_name_new_file.c b/scenes/nfc_playlist_scene_name_new_file.c index 70502af4743..9425a6a6b2b 100644 --- a/scenes/nfc_playlist_scene_name_new_file.c +++ b/scenes/nfc_playlist_scene_name_new_file.c @@ -11,7 +11,7 @@ void nfc_playlist_name_new_file_menu_callback(void* context) { File* file = storage_file_alloc(storage); if (storage_file_open(file, furi_string_get_cstr(file_name), FSAM_READ_WRITE, FSOM_CREATE_NEW)) { storage_file_close(file); - furi_string_move(nfc_playlist->settings.file_path, file_name); + furi_string_swap(nfc_playlist->settings.file_path, file_name); } storage_file_free(file); } diff --git a/scenes/nfc_playlist_scene_playlist_select.c b/scenes/nfc_playlist_scene_playlist_select.c index fc04e99f1ce..7b65725a1a2 100644 --- a/scenes/nfc_playlist_scene_playlist_select.c +++ b/scenes/nfc_playlist_scene_playlist_select.c @@ -2,7 +2,7 @@ void nfc_playlist_playlist_select_menu_callback(void* context) { NfcPlaylist* nfc_playlist = context; - furi_string_move(nfc_playlist->settings.file_path, nfc_playlist->file_browser_output); + furi_string_swap(nfc_playlist->settings.file_path, nfc_playlist->file_browser_output); furi_string_reset(nfc_playlist->file_browser_output); scene_manager_previous_scene(nfc_playlist->scene_manager); }