Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
RoderickQiu committed Jul 10, 2020
1 parent 39b769b commit 559c393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ ipcMain.on('warning-giver-workend', function () {
win.maximizable = false;
} else
setTimeout(function () {
dialog.showMessageBox(win, {
dialog.showMessageBox({
title: (store.has("personalization-notification.work-time-end") ?
store.get("personalization-notification.work-time-end") : i18n.__('work-time-end')),
type: "warning",
Expand Down Expand Up @@ -1112,7 +1112,7 @@ ipcMain.on('warning-giver-restend', function () {
win.maximizable = false;
} else
setTimeout(function () {
dialog.showMessageBox(win, {
dialog.showMessageBox({
title: (store.has("personalization-notification.rest-time-end") ?
store.get("personalization-notification.rest-time-end") : i18n.__('rest-time-end')),
type: "warning",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wnr",
"version": "1.16.0",
"version": "1.16.1",
"description": "Work and rest, with wnr now!",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 559c393

Please sign in to comment.