mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
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:
1 parent
a8559fd467
commit
7c898f4fcd
6 files changed
+35
-7
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user