Skip to content

Commit

Permalink
Make settings clear data dialog modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Dec 3, 2021
1 parent 969cb78 commit 25262f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/settings/src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { shell, app, dialog } = require("@electron/remote")
const { shell, app, dialog, BrowserWindow } = require("@electron/remote")
const fs = require("fs")
const electron = require("electron")
const ipc = electron.ipcRenderer
Expand Down Expand Up @@ -62,6 +62,9 @@ const settings_refresher = setInterval(() => {
}
}, 100)

// Get current window
const currentWindow = BrowserWindow.getFocusedWindow()

// ? elements
const inp0 = document.querySelector("#inp0")
const drp0 = document.querySelector("#drp0")
Expand Down

0 comments on commit 25262f4

Please sign in to comment.