1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

short arrow functions

This commit is contained in:
Andrew Simachev 2024-02-06 13:42:03 +01:00
parent dede5f57af
commit 5361146227
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
111 changed files with 282 additions and 282 deletions

View file

@ -103,7 +103,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) {
@ -114,7 +114,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();
};
@ -182,7 +182,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) {