mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-18 07:02:27 +00:00
fix: multiple toasts showing after update download is finished
This commit is contained in:
parent
4c26a48c7c
commit
19be275482
2 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@
|
|||
<button title="Share" class='btn bg-dark btn-lg btn-square ml-10 material-symbols-outlined font-size-20 shadow-none border-0' use:click={() => copyToClipboard(`https://miguapp.pages.dev/anime/${media.id}`)}>
|
||||
share
|
||||
</button>
|
||||
<button title="Non-torrent alternatives" class='btn bg-dark btn-lg btn-square ml-10 material-symbols-outlined font-size-20 shadow-none border-0' use:click={() => openInBrowser(`https://kuroiru.co/anime/${media.idMal}#tab=stream`)}>
|
||||
<button title="Non-torrent alternatives (uses kuroiru.co)" class='btn bg-dark btn-lg btn-square ml-10 material-symbols-outlined font-size-20 shadow-none border-0' use:click={() => openInBrowser(`https://kuroiru.co/anime/${media.idMal}#tab=stream`)}>
|
||||
hub
|
||||
</button>
|
||||
<button title="Open AniList" class='btn bg-dark btn-lg btn-square ml-10 material-symbols-outlined font-size-20 shadow-none border-0' use:click={() => openInBrowser(`https://anilist.co/anime/${media.id}`)}>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ export default class Updater {
|
|||
window.webContents.send('update-downloaded', true)
|
||||
})
|
||||
ipcMain.on('update-download', async () => {
|
||||
await autoUpdater.downloadUpdate()
|
||||
window.webContents.send('update-downloading', true)
|
||||
await autoUpdater.downloadUpdate()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue