Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/views/notes_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 9 additions & 7 deletions lib/widgets/note_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ class _NoteItemState extends State<NoteItem> {
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(
Expand All @@ -118,9 +115,6 @@ class _NoteItemState extends State<NoteItem> {
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(
Expand Down Expand Up @@ -150,7 +144,7 @@ class _NoteItemState extends State<NoteItem> {
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,
Expand Down Expand Up @@ -310,6 +304,14 @@ class _NoteItemState extends State<NoteItem> {
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,
Expand Down