mirror of
				https://github.com/dragonwocky/obsidian-tray.git
				synced 2025-10-30 21:58:07 +11:00 
			
		
		
		
	use the vault name as tray icon tooltip
This commit is contained in:
		
							parent
							
								
									4e097cca14
								
							
						
					
					
						commit
						f0c6a5d49f
					
				
							
								
								
									
										2
									
								
								main.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.js
									
									
									
									
									
								
							| @ -161,7 +161,7 @@ const addQuickNote = () => { | |||||||
|       ]); |       ]); | ||||||
|     tray = new Tray(obsidianIcon); |     tray = new Tray(obsidianIcon); | ||||||
|     tray.setContextMenu(contextMenu); |     tray.setContextMenu(contextMenu); | ||||||
|     tray.setToolTip("Obsidian"); |     tray.setToolTip(plugin.app.vault.getName() ?? "Obsidian"); | ||||||
|     tray.on("click", () => toggleWindows(false)); |     tray.on("click", () => toggleWindows(false)); | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user