Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
chore: bump version to v0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
zxch3n committed Jun 27, 2020
1 parent 160f7cd commit bb94c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pomodoro-logger",
"version": "0.3.6",
"version": "0.3.7",
"description": "Pomodoro Logger -- When a time logger meets Pomodoro and Kanban board",
"main": "./dist/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/Timer/Timer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -533,11 +533,11 @@ class Timer extends Component<Props, State> {
this.monitor = undefined;
}

this.setState({ pomodoroNum: this.state.pomodoroNum + 1 });
if (this.stagedSession === undefined) {
// Resting session
await this.props.timerFinished();
} else {
this.setState({ pomodoroNum: this.state.pomodoroNum + 1 });
this.stagedSession.spentTimeInHour += this.extendedTimeInMinute / 60;
this.extendedTimeInMinute = 0;
if (this.props.timer.boardId !== undefined) {
Expand Down

0 comments on commit bb94c9e

Please sign in to comment.