Skip to content

Commit af7d78a

Browse files
committed
Fix isPause()
1 parent 0eaf474 commit af7d78a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/background/timer/context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ export default class TimerContext {
7171

7272
isPaused(): boolean {
7373
if (this.idleState === 'active') {
74-
return true
75-
} else if (this.idleState === 'locked') {
7674
return false
75+
} else if (this.idleState === 'locked') {
76+
return true
7777
} else if (this.idleState === 'idle') {
7878
return !countWhenIdle
7979
}

0 commit comments

Comments
 (0)