Route document browse roots through platform services

This commit is contained in:
2026-06-04 16:41:56 +02:00
parent 6419645e03
commit 7d992931d9
10 changed files with 74 additions and 8 deletions

View File

@@ -238,11 +238,7 @@ void App::dialog_browse()
// load thumbnail test
auto dialog = std::make_shared<NodeDialogBrowse>();
dialog->set_manager(&layout);
#ifdef __IOS__
dialog->search_paths = {work_path, data_path + "/Inbox"};
#else
dialog->search_paths = {work_path};
#endif
dialog->search_paths = document_browse_roots();
dialog->init();
dialog->create();
dialog->loaded();