#188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer
This commit is contained in:
		
							parent
							
								
									971bea5792
								
							
						
					
					
						commit
						92c0e0c431
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue