Improve update check notification
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user