Archive: Cut/Copy/Past & NewDir

This commit is contained in:
gid9798
2023-07-18 23:46:28 +03:00
parent da919372e2
commit c0eebcb540
11 changed files with 371 additions and 60 deletions

View File

@@ -98,8 +98,8 @@ bool archive_scene_rename_on_event(void* context, SceneManagerEvent event) {
// Long time process if this is directory
view_dispatcher_switch_to_view(archive->view_dispatcher, ArchiveViewStack);
archive_show_loading_popup(archive, true);
FS_Error error = archive_rename_file_or_dir(
archive->browser, path_src, furi_string_get_cstr(path_dst));
FS_Error error = archive_rename_copy_file_or_dir(
archive->browser, path_src, furi_string_get_cstr(path_dst), false);
archive_show_loading_popup(archive, false);
archive_show_file_menu(archive->browser, false);