fixup! breakManager: Add new state machine for screen time/health breaks

This commit is contained in:
Philip Withnall 2024-06-07 16:02:16 +01:00
parent fdb3741518
commit 67684b5fe9

View file

@ -425,7 +425,7 @@ export const BreakManager = GObject.registerClass({
console.debug(`BreakManager: Break type ${breakType}: would be due at ${breakTypeWouldBeDueAt}`);
if (breakTypeIsDue) {
dueBreakTypes += breakType;
dueBreakTypes.push(breakType);
nextDueTime = breakTypeWouldBeDueAt;
// Of the break types which are now due, which has the longest