Skip to content

Commit

Permalink
v4.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantcheese committed Jul 26, 2019
1 parent 2beade2 commit 54cdb56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Kuroba/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
* ------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 54cdb56

Please sign in to comment.