mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Revert "Editor: Bring back 'Move to Folder' in the dropdown menu"
This reverts commit f129f2ac94e825b978f9c735ef2e110e2bfb6664.
This commit is contained in:
@ -17,7 +17,7 @@ abstract class EditorState {
|
||||
Note getNote();
|
||||
}
|
||||
|
||||
enum DropDownChoices { Rename, MoveToFolder, DiscardChanges, Share }
|
||||
enum DropDownChoices { Rename, DiscardChanges, Share }
|
||||
|
||||
AppBar buildEditorAppBar(
|
||||
Editor editor,
|
||||
@ -58,11 +58,6 @@ AppBar buildEditorAppBar(
|
||||
editor.renameNoteSelected(note);
|
||||
return;
|
||||
|
||||
case DropDownChoices.MoveToFolder:
|
||||
var note = editorState.getNote();
|
||||
editor.moveNoteToFolderSelected(note);
|
||||
return;
|
||||
|
||||
case DropDownChoices.DiscardChanges:
|
||||
var note = editorState.getNote();
|
||||
editor.discardChangesSelected(note);
|
||||
@ -80,10 +75,6 @@ AppBar buildEditorAppBar(
|
||||
value: DropDownChoices.Rename,
|
||||
child: Text('Edit File Name'),
|
||||
),
|
||||
const PopupMenuItem<DropDownChoices>(
|
||||
value: DropDownChoices.MoveToFolder,
|
||||
child: Text('Move to Folder'),
|
||||
),
|
||||
const PopupMenuItem<DropDownChoices>(
|
||||
value: DropDownChoices.DiscardChanges,
|
||||
child: Text('Discard Changes'),
|
||||
|
Reference in New Issue
Block a user