1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00
This commit is contained in:
Andrew Simachev 2024-02-07 10:15:00 +01:00
commit e495dd0283
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
814 changed files with 1409 additions and 1133 deletions

View file

@ -105,7 +105,7 @@ nativeTheme.on('updated', () => {
function createWindow () {
mainWindow = WindowManager.createMain({ route: Util.getRouteFromUrl(deeplinkingUrl), isChild: false });
mainWindow.on('close', (e) => {
mainWindow.on('close', e => {
Util.log('info', 'closeMain: ' + app.isQuiting);
if (app.isQuiting) {
@ -116,7 +116,7 @@ function createWindow () {
if (mainWindow.isFullScreen()) {
mainWindow.setFullScreen(false);
mainWindow.once('leave-full-screen', () => { mainWindow.hide(); });
mainWindow.once('leave-full-screen', () => mainWindow.hide());
} else {
mainWindow.hide();
};
@ -184,7 +184,7 @@ app.on('second-instance', (event, argv) => {
mainWindow.focus();
});
app.on('before-quit', (e) => {
app.on('before-quit', e => {
Util.log('info', 'before-quit');
if (app.isQuiting) {