Skip to content

Commit

Permalink
fix Browsing picture crash problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleydu committed Aug 31, 2020
1 parent 4e72077 commit 7f4b84e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected void onDraw(@NonNull Canvas canvas) {

public void update(Long id) {
Object tag = getTag();
if (tag == null || (int) tag != id) {
if (tag == null || !tag.equals(id) ) {
setTag(id);
resetMatrix();
}
Expand Down

0 comments on commit 7f4b84e

Please sign in to comment.