diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-06-12 23:33:31 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-06-12 23:33:31 +0530 |
| commit | 3525e919db6457d6ae7f64f707f7f65cf0cf73db (patch) | |
| tree | 8066130225e43f0773bd13efeda5777a7696b5b3 | |
| parent | cef0f85cf0b1536fce77b0a809c4208f38472225 (diff) | |
| download | pomoru-3525e919db6457d6ae7f64f707f7f65cf0cf73db.tar.xz pomoru-3525e919db6457d6ae7f64f707f7f65cf0cf73db.zip | |
reset timer on time expiration in manual switching modefeat/manual-session-switching
| -rw-r--r-- | src/pomo/state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pomo/state.rs b/src/pomo/state.rs index f2e65dc..e0faa70 100644 --- a/src/pomo/state.rs +++ b/src/pomo/state.rs @@ -180,6 +180,7 @@ impl Pomo { self.is_running = true; } else { self.is_running = false; + self.reset_timer_to_mode(); } } } |