From 54cdb56b6e5d5b362e4832b0b5ec0e214c477a55 Mon Sep 17 00:00:00 2001 From: Adamantcheese Date: Thu, 25 Jul 2019 19:01:41 -0700 Subject: [PATCH] v4.5.3 --- Kuroba/app/build.gradle | 2 +- .../com/github/adamantcheese/chan/ui/cell/PostCell.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Kuroba/app/build.gradle b/Kuroba/app/build.gradle index 59d810531e..de45686c42 100644 --- a/Kuroba/app/build.gradle +++ b/Kuroba/app/build.gradle @@ -22,7 +22,7 @@ android { //bump the PATCH (ZZ) version otherwise, for anything small int major = 4 int minor = 5 - int patch = 2 + int patch = 3 /** * ------------------------------------------------------------ diff --git a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/cell/PostCell.java b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/cell/PostCell.java index 897dbb7934..25cf791073 100644 --- a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/cell/PostCell.java +++ b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/cell/PostCell.java @@ -608,11 +608,13 @@ private void buildThumbnails() { v.setClickable(true); v.setOnClickListener(v2 -> callback.onThumbnailClicked(image, v)); v.setRounding(dp(2)); - //pad top and left if setting is on, no right pad, pad bottom if last image to avoid clashing with divider + //pad top and left if setting is on, no right pad, pad bottom if last image to avoid clashing with divider, pad more if setting v.setPadding(ChanSettings.padThumbs.get() ? dp(4) : 0, ChanSettings.padThumbs.get() && first ? dp(4) : 0, 0, - i + 1 == post.images.size() ? dp(1) : 0); + i + 1 == post.images.size() + ? ChanSettings.padThumbs.get() ? dp(4) : dp(1) + : 0); relativeLayoutContainer.addView(v, p); thumbnailViews.add(v);