mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-22 01:08:11 -07:00
list files in alphabetical order
This commit is contained in:
@@ -64,7 +64,7 @@ static void
|
||||
archive_add_file_item(browser, is_folder, furi_string_get_cstr(item_path));
|
||||
} else {
|
||||
with_view_model(
|
||||
browser->view, ArchiveBrowserViewModel * model, { model->list_loading = false; }, true);
|
||||
browser->view, ArchiveBrowserViewModel * model, { files_array_sort(model->files); model->list_loading = false; }, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -527,4 +527,4 @@ void archive_refresh_dir(ArchiveBrowserView* browser) {
|
||||
with_view_model(
|
||||
browser->view, ArchiveBrowserViewModel * model, { idx_temp = model->item_idx; }, false);
|
||||
file_browser_worker_folder_refresh(browser->worker, idx_temp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user