clean both folder if empty

This commit is contained in:
fyears
2024-04-27 12:03:36 +08:00
parent df7b6e1848
commit 9fe1b1d5e6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2018,7 +2018,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
t("settings_cleanemptyfolder_clean_both")
);
dropdown
.setValue(this.plugin.settings.howToCleanEmptyFolder ?? "skip")
.setValue(this.plugin.settings.howToCleanEmptyFolder ?? "clean_both")
.onChange(async (val) => {
this.plugin.settings.howToCleanEmptyFolder =
val as EmptyFolderCleanType;