Skip to content

Commit 0d6a6a4

Browse files
committed
custom: disable VersionChecker
I really don't want to be stuck on vacation with a broken app and no way to build a new one.
1 parent c06f484 commit 0d6a6a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/constraints/src/main/kotlin/app/aaps/plugins/constraints/versionChecker/VersionCheckerUtilsImpl.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class VersionCheckerUtilsImpl @Inject constructor(
3232
) : VersionCheckerUtils {
3333

3434
override fun triggerCheckVersion() {
35+
if (true) {
36+
onSameVersionDetected()
37+
return
38+
}
3539

3640
if (!sp.contains(R.string.key_last_successful_version_check_timestamp)) {
3741
// On a new installation, set it as 30 days old in order to warn that there is a new version.

0 commit comments

Comments
 (0)