diff --git a/src/ui/ExportDialog.tsx b/src/ui/ExportDialog.tsx index 1048618..170fe32 100644 --- a/src/ui/ExportDialog.tsx +++ b/src/ui/ExportDialog.tsx @@ -43,6 +43,8 @@ const Dialog = (props: { plugin: UniversalExportPlugin, currentFile: TFile, onCl if (globalSetting.defaultExportDirectoryMode === 'Same') { const path = currentFile.vault.adapter.getBasePath() + '/' + currentFile.parent.path; setCandidateOutputDirectory(path); + } else if (globalSetting.defaultExportDirectoryMode === 'Custom') { + setCandidateOutputDirectory(getPlatformValue(globalSetting.customDefaultExportDirectory)); } const chooseFolder = async () => {