refactor: keep unit timestamps as one Activity
This commit is contained in:
1 parent
8d96034574
commit
c11a509090
5 files changed
+25
-34
No files matched your search
+1
-4
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user