From 14dcc8f0ff2af8644bc4998dc89083cd41590abf Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 1 Aug 2024 19:18:46 +0300 Subject: [PATCH] fix(tasks): comment persistence --- src/tasks.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tasks.rs b/src/tasks.rs index 4cbdd9e..d1cf1a8 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -508,7 +508,8 @@ impl Tasks { match self.position { None => warn!("Cannot add note '{}' without active task", note), Some(id) => { - self.submit(EventBuilder::text_note(note, vec![])); + let prop = self.build_prop(Kind::TextNote, note, id); + self.submit(prop); } } }