From 92c0e0c431dd1324cc02c11c7bbb45e83a823a3c Mon Sep 17 00:00:00 2001 From: SebastianMC <23032356+SebastianMC@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:12:19 +0100 Subject: [PATCH] #188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer --- .gitignore | 2 ++ src/main.ts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {