mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
force update if geode is missing
This commit is contained in:
1 file changed
+1
-1
@@ -252,7 +252,7 @@ class ReleaseManager private constructor(
|
|||||||
|
|
||||||
// only check for updates if it's been over 15 minutes since last check
|
// only check for updates if it's been over 15 minutes since last check
|
||||||
val checkMinTime = Clock.System.now().minus(15.minutes).toEpochMilliseconds()
|
val checkMinTime = Clock.System.now().minus(15.minutes).toEpochMilliseconds()
|
||||||
if (!isManual && lastCheckTime > checkMinTime) {
|
if (!isManual && lastCheckTime > checkMinTime && !fileWasExternallyModified()) {
|
||||||
_uiState.value = ReleaseManagerState.Finished()
|
_uiState.value = ReleaseManagerState.Finished()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user