Fix "Check for updates" not working due to time cooldown (#6232)

* Fix "Check for updates" not working due to time cooldown

* Update AppUpdateChecker.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>
This commit is contained in:
Andreas
2021-11-14 16:23:12 +01:00
committed by GitHub
parent 1e4d7f8c6e
commit c0d0ff66b6
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ class AboutController : SettingsController(), NoAppBarElevationController {
launchNow {
try {
when (val result = updateChecker.checkForUpdate(activity!!)) {
when (val result = updateChecker.checkForUpdate(activity!!, isUserPrompt = true)) {
is AppUpdateResult.NewUpdate -> {
NewUpdateDialogController(result).showDialog(router)
}