Fix android update system

This commit is contained in:
Vladimir Stoilov
2023-04-12 17:09:38 +02:00
parent 0562180ba9
commit 7cbabd50c4
4 changed files with 22 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ func notifyUpdateCheckFailed(forced bool, err error) {
// Not failed often enough for notification.
return
case lastSuccess == nil:
// No recorded successful udpate.
// No recorded successful update.
case time.Now().Add(-failedUpdateNotifyDurationThreshold).Before(*lastSuccess):
// Failed too recently for notification.
return