mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +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.
|
||||
flavor = updateSuccessPending
|
||||
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.
|
||||
flavor = updateSuccessDownloaded
|
||||
case forced:
|
||||
|
|
Loading…
Add table
Reference in a new issue