Skip to content

Commit

Permalink
Fix formatting from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
flofriday committed Apr 21, 2024
1 parent 9d415d6 commit df43455
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.load.resource.bitmap.FitCenter;
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
import com.bumptech.glide.request.RequestOptions;

import de.danoeh.antennapod.ui.preferences.R;

import java.util.List;
Expand Down Expand Up @@ -48,7 +50,7 @@ public View getView(int position, View view, ViewGroup parent) {
.apply(new RequestOptions()
.diskCacheStrategy(DiskCacheStrategy.NONE)
.transform(new FitCenter(), new RoundedCorners((int)
(4 * context.getResources().getDisplayMetrics().density)))
(4 * context.getResources().getDisplayMetrics().density)))
.dontAnimate())
.into(((ImageView) view.findViewById(R.id.icon)));
}
Expand Down

0 comments on commit df43455

Please sign in to comment.