diff --git a/.gitignore b/.gitignore index 5a247e1..a0ff410 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ data.json # Exclude macOS Finder (System Explorer) View States .DS_Store /yarn.lock +/.run/test.run.xml +/.run/build.run.xml diff --git a/src/main.ts b/src/main.ts index 1cead1c..8fa0837 100644 --- a/src/main.ts +++ b/src/main.ts @@ -90,7 +90,6 @@ export default class CustomSortPlugin ribbonIconEl: HTMLElement // On small-screen mobile devices this is useless (ribbon is re-created on-the-fly) sortSpecCache?: SortSpecsCollection | null - initialAutoOrManualSortingTriggered: boolean customSortAppliedAtLeastOnce: boolean = false showNotice(message: string, timeout?: number) { @@ -299,7 +298,6 @@ export default class CustomSortPlugin this.readAndParseSortingSpec(); if (this.sortSpecCache) { if (fileExplorer) { - this.initialAutoOrManualSortingTriggered = true this.customSortAppliedAtLeastOnce = false fileExplorer.view.requestSort(); } else {