refactor: keep unit timestamps as one Activity

This commit is contained in:
Willem Vanhulle committed 2026-10-21 12:12:49 +02:00
1 parent 8d96034574
commit c11a509090
5 files changed
+25 -34

No files matched your search

+1 -4
View File
@@ -55,10 +55,7 @@ enum Progress {
#[derive(Clone, Debug)]
struct UnitRecord {
facts: UnitFacts,
state: ActiveState,
inactive_exit: Option<Duration>,
active_enter: Option<Duration>,
active_exit: Option<Duration>,
activity: Activity,
progress: Progress,
}