[fix] building error
This commit is contained in:
@@ -33,8 +33,8 @@ const Nav = () => {
|
|||||||
const close = async () => {
|
const close = async () => {
|
||||||
await saveAllNow()
|
await saveAllNow()
|
||||||
// await exit()
|
// await exit()
|
||||||
if (app.state.hiddenOnClose) window.getCurrentWindow().hide()
|
if (app.state.hiddenOnClose) await window.getCurrentWindow().hide()
|
||||||
else exit()
|
else await exit()
|
||||||
}
|
}
|
||||||
|
|
||||||
const minimize = async () => {
|
const minimize = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user