From 8abcccc262d240bef2f9963afbbf07622c904acc Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 16 Jun 2023 01:40:05 -0700 Subject: [PATCH] Fix typo --- native/src/core/cert.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/core/cert.rs b/native/src/core/cert.rs index eba0716ce..b42523d0e 100644 --- a/native/src/core/cert.rs +++ b/native/src/core/cert.rs @@ -79,9 +79,9 @@ pub fn read_certificate(fd: RawFd, version: i32) -> Vec { comment.foreach_props(|k, v| { if k == "versionCode" { apk_ver = v.trim().parse::().unwrap_or(0); - true - } else { false + } else { + true } }); if version > apk_ver {