mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-14 21:18:56 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user