Skip to content

Commit

Permalink
custom theme: Fix the install custom theme
Browse files Browse the repository at this point in the history
Change-Id: I639bfdac46cbe5a0d9760d1b62fd5f9875b63994
  • Loading branch information
sekaiacg authored and SIDDK24 committed Jan 30, 2022
1 parent 786e176 commit 57d7c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twrpinstall/twinstall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57d7c48

Please sign in to comment.