From 684deaa6b7d35a2fc22c0cffe892b117db1e18be Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 9 Sep 2025 21:26:03 +0530 Subject: showing remaining time like a normal timer, not time elapsed --- src/daemon/pomo.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/pomo.rs b/src/daemon/pomo.rs index 1f4d8ef..2ed7294 100644 --- a/src/daemon/pomo.rs +++ b/src/daemon/pomo.rs @@ -33,10 +33,10 @@ pub enum State { #[derive(Encode, Decode)] pub struct Pomo { - work_duration: u16, - break_duration: u16, - long_break_duration: u16, long_break_interval: u16, + pub work_duration: u16, + pub break_duration: u16, + pub long_break_duration: u16, // only these are supposed to change pub secs_elapsed: u16, -- cgit v1.2.3