mirror of
https://github.com/safing/portmaster
synced 2025-09-04 19:49:15 +00:00
Improve update check notification
This commit is contained in:
parent
4d12f702a9
commit
e0aad2962c
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func notifyUpdateSuccess(forced bool) {
|
||||||
// Show notification if there are pending downloads.
|
// Show notification if there are pending downloads.
|
||||||
flavor = updateSuccessPending
|
flavor = updateSuccessPending
|
||||||
case updateState.LastDownloadAt != nil &&
|
case updateState.LastDownloadAt != nil &&
|
||||||
time.Since(*updateState.LastDownloadAt) < time.Minute:
|
time.Since(*updateState.LastDownloadAt) < 5*time.Second:
|
||||||
// Show notification if we downloaded something within the last minute.
|
// Show notification if we downloaded something within the last minute.
|
||||||
flavor = updateSuccessDownloaded
|
flavor = updateSuccessDownloaded
|
||||||
case forced:
|
case forced:
|
||||||
|
|
Loading…
Add table
Reference in a new issue