aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-09-09 21:38:34 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-09-09 21:38:34 +0530
commitf8521153c65eb49ebbfece496ad6aceccf58a182 (patch)
tree75a17b8e3c1514b7298ad64b595697514f09e0b5 /src/daemon
parent684deaa6b7d35a2fc22c0cffe892b117db1e18be (diff)
counting down to 00:00 not 00:01v0.1.0
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/pomo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/pomo.rs b/src/daemon/pomo.rs
index 2ed7294..d05fad8 100644
--- a/src/daemon/pomo.rs
+++ b/src/daemon/pomo.rs
@@ -70,7 +70,7 @@ impl Pomo {
_ => 0, // will never hit this case
};
- if self.secs_elapsed >= duration {
+ if self.secs_elapsed > duration {
self.end_cycle();
}
}