diff --git a/src/main/apis/app/uploader/apis.ts b/src/main/apis/app/uploader/apis.ts index 01fe89348..dcce9d7d6 100644 --- a/src/main/apis/app/uploader/apis.ts +++ b/src/main/apis/app/uploader/apis.ts @@ -23,7 +23,9 @@ export const uploadClipboardFiles = async (): Promise => { body: img[0].imgUrl!, icon: img[0].imgUrl }) - notification.show() + setTimeout(() => { + notification.show() + }, 100) await GalleryDB.getInstance().insert(img[0]) // trayWindow just be created in mac/windows, not in linux trayWindow?.webContents?.send('clipboardFiles', [])