custom theme: Fix the install custom theme

Change-Id: I639bfdac46cbe5a0d9760d1b62fd5f9875b63994
This commit is contained in:
sekaiacg
2021-12-04 20:10:02 +08:00
committed by bigbiff
parent e331b8a1b7
commit 826ec47f60
+1 -1
View File
@@ -354,7 +354,7 @@ int TWinstall_zip(const char* path, int* wipe_cache, bool check_for_digest) {
} else {
std::string binary_name("ui.xml");
ZipEntry64 binary_entry;
if (FindEntry(Zip, binary_name, &binary_entry) != 0) {
if (FindEntry(Zip, binary_name, &binary_entry) == 0) {
LOGINFO("TWRP theme zip\n");
ret_val = Install_Theme(path, Zip);
} else {