mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Fix by lint
This commit is contained in:
@@ -44,13 +44,12 @@ if (process.platform !== 'linux' || process.env.DESKTOP_SESSION === 'cinnamon')
|
|||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
mainWindow.minimize()
|
mainWindow.minimize()
|
||||||
} else {
|
} else {
|
||||||
if(mainWindow.isFullScreen()){
|
if (mainWindow.isFullScreen()) {
|
||||||
mainWindow.once('leave-full-screen', function () {
|
mainWindow.once('leave-full-screen', function () {
|
||||||
mainWindow.hide()
|
mainWindow.hide()
|
||||||
})
|
})
|
||||||
mainWindow.setFullScreen(false)
|
mainWindow.setFullScreen(false)
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
mainWindow.hide()
|
mainWindow.hide()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user