Skip to content

Commit

Permalink
version 0.1.8.21
Browse files Browse the repository at this point in the history
prerelease
  • Loading branch information
gonojuarez committed Aug 11, 2021
1 parent ed68c78 commit 293bc7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void setPictogramsLibraryGroup(Group pictogramsLibraryGroup) {
private void setData() {
id = pictogramsLibraryGroup.getId();
this.setCustom_Texto(pictogramsLibraryGroup.getObjectName());
if (pictogramsLibraryGroup.getEditedPictogram().isEmpty()) {
if (pictogramsLibraryGroup.getEditedPictogram().isEmpty() && !pictogramsLibraryGroup.getPictogram().isEmpty()) {
glideAttatcher.useDiskCacheStrategy().loadDrawable(mContext.getResources().getDrawable(mContext.getResources().getIdentifier(pictogramsLibraryGroup.getPictogram(),
"drawable", mContext.getPackageName())), this.icon);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ private void setData(){
this.setCustom_Texto(pictogramsLibraryPictogram.getObjectName());
this.icon.setScaleType(ImageView.ScaleType.FIT_CENTER);
cargarColor(pictogramsLibraryPictogram.getType());
if(pictogramsLibraryPictogram.getEditedPictogram().isEmpty()){

if(pictogramsLibraryPictogram.getEditedPictogram().isEmpty()&&!pictogramsLibraryPictogram.getPictogram().isEmpty()){
glideAttatcher.useDiskCacheStrategy().loadDrawable(mContext.getResources().getDrawable(mContext.getResources().getIdentifier(pictogramsLibraryPictogram.getPictogram(),
"drawable", mContext.getPackageName())),this.icon);
}else{
Expand Down

0 comments on commit 293bc7c

Please sign in to comment.