improve window management and title bar

This commit is contained in:
talksik
2026-02-21 12:42:43 -08:00
parent 59b973802d
commit 8546260493
26 changed files with 229 additions and 25 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ export function flattenStreams(
}
function getLatestParticleTime(stream: Stream): number {
if (stream.particles.length === 0) return 0;
if (stream.particles.length === 0) {
return new Date(stream.updated_at).getTime() || 0;
}
const last = stream.particles[stream.particles.length - 1];
return new Date(last.created_at).getTime();
}