Skip to content

Commit 92c0e0c

Browse files
committed
#188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer
1 parent 971bea5 commit 92c0e0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ data.json
2121
# Exclude macOS Finder (System Explorer) View States
2222
.DS_Store
2323
/yarn.lock
24+
/.run/test.run.xml
25+
/.run/build.run.xml

src/main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ export default class CustomSortPlugin
9090
ribbonIconEl: HTMLElement // On small-screen mobile devices this is useless (ribbon is re-created on-the-fly)
9191

9292
sortSpecCache?: SortSpecsCollection | null
93-
initialAutoOrManualSortingTriggered: boolean
9493
customSortAppliedAtLeastOnce: boolean = false
9594

9695
showNotice(message: string, timeout?: number) {
@@ -299,7 +298,6 @@ export default class CustomSortPlugin
299298
this.readAndParseSortingSpec();
300299
if (this.sortSpecCache) {
301300
if (fileExplorer) {
302-
this.initialAutoOrManualSortingTriggered = true
303301
this.customSortAppliedAtLeastOnce = false
304302
fileExplorer.view.requestSort();
305303
} else {

0 commit comments

Comments
 (0)