We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90660ff commit 272895bCopy full SHA for 272895b
app/src/main/kotlin/com/looker/droidify/service/ReleaseFileValidator.kt
@@ -22,7 +22,7 @@ class ReleaseFileValidator(
22
23
override suspend fun validate(file: File) {
24
val checksum = sha256(file).hex()
25
- if (checksum.equals(release.hash, ignoreCase = true)) {
+ if (!checksum.equals(release.hash, ignoreCase = true)) {
26
invalid(getString(strings.integrity_check_error_DESC))
27
}
28
val packageInfo = context.packageManager.getPackageArchiveInfoCompat(file.path)
0 commit comments