feat(app): clean up also offers empty journals, except today's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 06:32:56 +01:00
1 parent a8559fd467
commit 7c898f4fcd
6 files changed
+35 -7

No files matched your search

+7 -1
View File
@@ -76,7 +76,13 @@ class _AllPagesViewState extends State<AllPagesView> {
);
if (removed == null || removed.isEmpty) return;
await app.queue.run(() => app.backend.purgePages(removed));
app.recent.removeWhere((p) => removed.contains(p.id));
app.pagesDeleted(
removed,
titles: [
for (final c in candidates)
if (removed.contains(c.id)) c.title,
],
);
app.reload();
}