Skip to content

Commit

Permalink
version 0.1.8.2
Browse files Browse the repository at this point in the history
prerelease
  • Loading branch information
gonojuarez committed Aug 11, 2021
1 parent 293bc7c commit 5a5f47c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public RequestBuilder<Drawable> cornerRadious(RequestBuilder<Drawable> drawableR

public RequestBuilder<Drawable> useDiskCacheStrategic(RequestBuilder<Drawable> drawableRequestBuilder){
if(useDiskCacheStrategy)
return drawableRequestBuilder.diskCacheStrategy(DiskCacheStrategy.ALL);
return drawableRequestBuilder.diskCacheStrategy(DiskCacheStrategy.AUTOMATIC);
return drawableRequestBuilder;
}

Expand Down
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() && !pictogramsLibraryGroup.getPictogram().isEmpty()) {
if (pictogramsLibraryGroup.getEditedPictogram().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 @@ -156,7 +156,7 @@ private void setData(){
this.icon.setScaleType(ImageView.ScaleType.FIT_CENTER);
cargarColor(pictogramsLibraryPictogram.getType());

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

0 comments on commit 5a5f47c

Please sign in to comment.