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:
parent
5301e93d4c
commit
f0e188df49
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ function createWindow () {
|
|||
e.preventDefault();
|
||||
|
||||
const onClose = () => {
|
||||
const { config } = ConfigManager;
|
||||
|
||||
if (config.hideTray) {
|
||||
Api.exit(mainWindow, '', false);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue