aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-03-13 16:12:00 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-03-13 16:12:00 +0000
commit8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7 (patch)
tree4f1680df10d2e0515a503a97e8e3407d73298af3 /app/src/main
parent04377b9eb090befd1cd17500971eee3078340650 (diff)
downloadinfinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.tar
infinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.tar.gz
infinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.tar.bz2
infinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.tar.lz
infinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.tar.xz
infinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.tar.zst
infinity-for-reddit-8f9fecd1d05cee22f18b1e5627e23a0b26a0a3b7.zip
Fix rounded corners in blurred images in ImageAndGifEntry.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/markdown/ImageAndGifEntry.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/markdown/ImageAndGifEntry.java b/app/src/main/java/ml/docilealligator/infinityforreddit/markdown/ImageAndGifEntry.java
index c3622e96..01dc27ab 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/markdown/ImageAndGifEntry.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/markdown/ImageAndGifEntry.java
@@ -146,8 +146,8 @@ public class ImageAndGifEntry extends MarkwonAdapter.Entry<ImageAndGifBlock, Ima
imageRequestBuilder
.apply(RequestOptions.bitmapTransform(
new MultiTransformation<>(
- new BlurTransformation(50, 10),
- new RoundedCornersTransformation(72, 0))))
+ new BlurTransformation(100, 4),
+ new RoundedCornersTransformation(8, 0))))
.into(holder.binding.imageViewMarkdownImageAndGifBlock);
} else {
imageRequestBuilder