mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-5003: fix
This commit is contained in:
parent
81c0544098
commit
3332409afa
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ function createWindow () {
|
|||
const onClose = () => {
|
||||
const { config } = ConfigManager;
|
||||
|
||||
if (config.hideTray) {
|
||||
if (config.hideTray && (WindowManager.list.size <= 1)) {
|
||||
Api.exit(mainWindow, '', false);
|
||||
} else {
|
||||
mainWindow.hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue