Changed if() to if ()

This commit is contained in:
Amaru8 2022-04-30 21:27:00 +02:00
parent 91ac19974c
commit 9c85fafd1d
22 changed files with 44 additions and 44 deletions

View file

@ -132,7 +132,7 @@
self.themes = []
notyf.success(app.getLz('settings.notyf.visual.plugin.install.success'));
bootbox.confirm(app.getLz("settings.prompt.visual.plugin.github.success"), (ok)=>{
if(ok) {
if (ok) {
ipcRenderer.invoke("relaunchApp")
}else{
return
@ -154,7 +154,7 @@
if (arg.success) {
self.themes = ipcRenderer.sendSync("get-themes")
bootbox.confirm(app.getLz("settings.prompt.visual.plugin.github.success"), (ok)=>{
if(ok) {
if (ok) {
ipcRenderer.invoke("relaunchApp")
}else{
return