diff --git a/lib/views/notes_view.dart b/lib/views/notes_view.dart index b69d35d..6205a01 100644 --- a/lib/views/notes_view.dart +++ b/lib/views/notes_view.dart @@ -183,7 +183,7 @@ class _NotesViewState extends State<_NotesView> { value: "export_md", child: ListTile( leading: Icon(Icons.receipt_long), - title: Text("export markdown"))), + title: Text("export outline"))), if (outline.archived) ...[ const PopupMenuItem( value: "unarchive", diff --git a/lib/widgets/note_item.dart b/lib/widgets/note_item.dart index f911059..7f4f18b 100644 --- a/lib/widgets/note_item.dart +++ b/lib/widgets/note_item.dart @@ -106,9 +106,6 @@ class _NoteItemState extends State { const PopupMenuItem( value: "share", child: ListTile(leading: Icon(Icons.share), title: Text("share"))), - const PopupMenuItem( - value: "edit", - child: ListTile(leading: Icon(Icons.edit), title: Text("edit"))), const PopupMenuItem( value: "move", child: ListTile( @@ -118,9 +115,6 @@ class _NoteItemState extends State { value: "locate", child: ListTile( leading: Icon(Icons.location_pin), title: Text("location"))), - const PopupMenuItem( - value: "delete", - child: ListTile(leading: Icon(Icons.delete), title: Text("delete"))), if (isTranscribing) const PopupMenuItem( child: ListTile( @@ -150,7 +144,7 @@ class _NoteItemState extends State { Navigator.push(context, MaterialPageRoute(builder: (ct) { return Scaffold( appBar: AppBar( - title: const Text("Select Outline"), + title: const Text("Select Outline To Move To"), ), body: OutlinesList( excludeItem: note.outlineId, @@ -310,6 +304,14 @@ class _NoteItemState extends State { TextStyle(color: Theme.of(context).hintColor), ), date: dateCreated!), + IconButton( + tooltip: "edit", + onPressed: _editNoteDetails, + icon: const Icon(Icons.edit)), + IconButton( + tooltip: "delete", + onPressed: _deleteNote, + icon: const Icon(Icons.delete)), PopupMenuButton( tooltip: "note options", itemBuilder: _menuBuilder,