refactor: Remove category handling from note editor and simplify note card options

This commit is contained in:
2026-07-02 11:20:28 +02:00
parent c2db704155
commit 78dddd571a
4 changed files with 325 additions and 269 deletions
-8
View File
@@ -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;