Skip to content

Commit b26762a

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. # Conflicts: # plugins/constraints/src/main/kotlin/app/aaps/plugins/constraints/versionChecker/VersionCheckerUtilsImpl.kt
1 parent 6e121df commit b26762a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ class VersionCheckerUtilsImpl @Inject constructor(
6868
}
6969

7070
fun evaluateVersion(newVersion: String?, currentVersion: String): VersionResult {
71+
if (true) {
72+
return VersionResult.SAME_VERSION
73+
}
7174

7275
val newVersionElements = newVersion.toNumberList()
7376
val currentVersionElements = currentVersion.toNumberList()

0 commit comments

Comments
 (0)