fix: preserve active break during session adoption (Closes #1315)
This commit is contained in:
1 parent
e572b3410e
commit
877c995b47
2 files changed
+30
-1
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user