mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01: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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    async refreshWithNote() {
 | 
			
		||||
        if (utils.isMobile()) {
 | 
			
		||||
            this.toggleExt(await this.#shouldDisplay());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user