From 1f69048c866a703c03c755573162ce1dc5d28b17 Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Sun, 2 May 2021 23:25:34 +0300 Subject: [PATCH 1/2] minify switch case Co-authored-by: th-ch --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 80ba9efe..681b5a8e 100644 --- a/index.js +++ b/index.js @@ -341,7 +341,6 @@ function showUnresponsiveDialog(win, details) { case 2: app.quit(); break; - case 0: default: break; } From 02d16ca51084c1343bb0fb273f775971d2b844ee Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Sun, 2 May 2021 23:25:46 +0300 Subject: [PATCH 2/2] fix typo Co-authored-by: th-ch --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 681b5a8e..9ee68492 100644 --- a/index.js +++ b/index.js @@ -331,7 +331,7 @@ function showUnresponsiveDialog(win, details) { type: "error", title: "Window Unresponsive", message: "The Application is Unresponsive", - details: "We are sorry for the inconveniance! please choose what to do:", + details: "We are sorry for the inconvenience! please choose what to do:", buttons: ["Wait", "Relaunch", "Quit"], cancelId: 0 }).then( result => {