aboutsummaryrefslogtreecommitdiff
path: root/src/pomo/state.rs
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-06-12 23:33:31 +0530
committerRanXom <saiyedshizain@gmail.com>2026-06-12 23:33:31 +0530
commit3525e919db6457d6ae7f64f707f7f65cf0cf73db (patch)
tree8066130225e43f0773bd13efeda5777a7696b5b3 /src/pomo/state.rs
parentcef0f85cf0b1536fce77b0a809c4208f38472225 (diff)
downloadpomoru-feat/manual-session-switching.tar.xz
pomoru-feat/manual-session-switching.zip
reset timer on time expiration in manual switching modefeat/manual-session-switching
Diffstat (limited to 'src/pomo/state.rs')
-rw-r--r--src/pomo/state.rs1
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();
}
}
}