Route document browse roots through platform services
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user