mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-12 00:49:14 +08:00
fix: recover comment
This commit is contained in:
parent
ec0a6460b7
commit
6b13c640d1
@ -83,6 +83,8 @@ export async function checkDataLimit() {
|
|||||||
}
|
}
|
||||||
currentInterval = setInterval(check, CHECK_INTERVAL_WARNING)
|
currentInterval = setInterval(check, CHECK_INTERVAL_WARNING)
|
||||||
} else if (!shouldShowWarning && currentToastId) {
|
} else if (!shouldShowWarning && currentToastId) {
|
||||||
|
// Dismiss toast when space is recovered
|
||||||
|
|
||||||
window.toast.close(currentToastId)
|
window.toast.close(currentToastId)
|
||||||
currentToastId = null
|
currentToastId = null
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user