Skip to content

Commit

Permalink
pictogram clean code image view bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gonojuarez committed Nov 22, 2022
1 parent b21b2d5 commit 8f59a64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected void selectIcon(final OTTAAProjectObjects object,ImageView icon,GlideA
String path = object.getEditedPictogram();
File picture=new File(path);
if(picture.exists())
glideAttatcher.useDiskCacheStrategy().loadDrawable(object,icon);
glideAttatcher.useDiskCacheStrategy().loadDrawable(picture,icon);
else
glideAttatcher.useDiskCacheStrategy().loadDrawable(Uri.parse(object.getUrl()),icon);
}
Expand Down

0 comments on commit 8f59a64

Please sign in to comment.