mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-11 17:45:32 +00:00
improve: add duration to torrent warn toast
This commit is contained in:
parent
666e635fef
commit
49e2ea5c58
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ client.on('error', ({ detail }) => {
|
|||
|
||||
client.on('warn', ({ detail }) => {
|
||||
console.error(detail)
|
||||
toast.warning('Torrent Warning', { description: '' + (detail.message || detail) })
|
||||
toast.warning('Torrent Warning', { description: '' + (detail.message || detail), duration: 200 })
|
||||
})
|
||||
|
||||
export async function add (torrentID, hide) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue