refactor: Remove category handling from note editor and simplify note card options
This commit is contained in:
@@ -33,13 +33,6 @@ void main() {
|
||||
body: NoteEditorScreen(
|
||||
repository: null,
|
||||
note: initialNote,
|
||||
categories: <Category>[
|
||||
Category(
|
||||
id: 'work',
|
||||
name: 'Trabajo',
|
||||
updatedAt: DateTime(2026, 5, 21),
|
||||
),
|
||||
],
|
||||
saveNote: (Note note) async => note,
|
||||
onSaved: (Note result) {
|
||||
savedNote = result;
|
||||
@@ -88,7 +81,6 @@ void main() {
|
||||
body: NoteEditorScreen(
|
||||
repository: null,
|
||||
note: initialNote,
|
||||
categories: <Category>[],
|
||||
saveNote: (Note note) async {
|
||||
saveCount += 1;
|
||||
return note;
|
||||
|
||||
Reference in New Issue
Block a user