fix: preserve active break during session adoption (Closes #1315)
CI / lint (pull_request) Successful in 3m35s
CI / build-release (pull_request) Successful in 7s
CI / browser-journey (pull_request) Successful in 5m18s
CI / release-candidate (pull_request) Has been skipped

This commit is contained in:
timmy committed 2026-08-23 19:26:02 +00:00
1 parent e572b3410e
commit 877c995b47
2 files changed
+30 -1

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ function createTodayTimer({ storage, getLogin, now = () => Date.now(), onChange
state.attention_interruption = null;
state.search_interruption = null;
state.detour_interruption = null;
state.timed_break = null;
if(running || validBreak(state)?.identity !== identity) state.timed_break=null;
return write(state);
},
activate(identity) {