mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	feat(mobile): hide editing toolbar on non-text note
This commit is contained in:
		
							parent
							
								
									6caddc8004
								
							
						
					
					
						commit
						6f2538a070
					
				| @ -150,4 +150,11 @@ export default class ClassicEditorToolbar extends NoteContextAwareWidget { | |||||||
| 
 | 
 | ||||||
|         return true; |         return true; | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     async refreshWithNote() { | ||||||
|  |         if (utils.isMobile()) { | ||||||
|  |             this.toggleExt(await this.#shouldDisplay()); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran