mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	feat(mobile): enable prompt dialog for inserting notes
This commit is contained in:
		
							parent
							
								
									5677be2dd5
								
							
						
					
					
						commit
						c17d10114f
					
				@ -31,6 +31,7 @@ import type AppContext from "../components/app_context.js";
 | 
				
			|||||||
import TabRowWidget from "../widgets/tab_row.js";
 | 
					import TabRowWidget from "../widgets/tab_row.js";
 | 
				
			||||||
import JumpToNoteDialog from "../widgets/dialogs/jump_to_note.js";
 | 
					import JumpToNoteDialog from "../widgets/dialogs/jump_to_note.js";
 | 
				
			||||||
import RecentChangesDialog from "../widgets/dialogs/recent_changes.js";
 | 
					import RecentChangesDialog from "../widgets/dialogs/recent_changes.js";
 | 
				
			||||||
 | 
					import PromptDialog from "../widgets/dialogs/prompt.js";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const MOBILE_CSS = `
 | 
					const MOBILE_CSS = `
 | 
				
			||||||
<style>
 | 
					<style>
 | 
				
			||||||
@ -189,6 +190,7 @@ export default class MobileLayout {
 | 
				
			|||||||
            .child(new AboutDialog())
 | 
					            .child(new AboutDialog())
 | 
				
			||||||
            .child(new HelpDialog())
 | 
					            .child(new HelpDialog())
 | 
				
			||||||
            .child(new RecentChangesDialog())
 | 
					            .child(new RecentChangesDialog())
 | 
				
			||||||
            .child(new JumpToNoteDialog());
 | 
					            .child(new JumpToNoteDialog())
 | 
				
			||||||
 | 
					            .child(new PromptDialog());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user