Clear input field after saving note
This commit is contained in:
@@ -585,6 +585,7 @@ class MainPageState extends State<MainPage> with WindowListener {
|
||||
// Handle current entry
|
||||
if (currentEntry.isNotEmpty) {
|
||||
await createNote(currentEntry);
|
||||
_currentEntryController.clear(); // Clear the input field after saving
|
||||
}
|
||||
|
||||
// Handle scratch pad
|
||||
|
Reference in New Issue
Block a user