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

fix crash

This commit is contained in:
Andrew Simachev 2024-05-10 14:50:45 +02:00
parent 5301e93d4c
commit f0e188df49
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -115,6 +115,8 @@ function createWindow () {
e.preventDefault();
const onClose = () => {
const { config } = ConfigManager;
if (config.hideTray) {
Api.exit(mainWindow, '', false);
} else {