Clear input field after saving note

This commit is contained in:
2025-05-18 13:50:59 +02:00
parent 1e11cd53c9
commit b5dad28491

View File

@@ -585,6 +585,7 @@ class MainPageState extends State<MainPage> with WindowListener {
// Handle current entry // Handle current entry
if (currentEntry.isNotEmpty) { if (currentEntry.isNotEmpty) {
await createNote(currentEntry); await createNote(currentEntry);
_currentEntryController.clear(); // Clear the input field after saving
} }
// Handle scratch pad // Handle scratch pad