aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-08-10 04:08:19 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-08-10 04:08:19 +0000
commite487f27461e0bf7e404764ce790d3ed38180b9d6 (patch)
treee1e250af9a16f9b7efc080082d2b7088f5b0fd05 /app/src/main/java
parenta480bc5e10ed504e20c713027cc2a672484b0710 (diff)
downloadinfinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.tar
infinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.tar.gz
infinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.tar.bz2
infinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.tar.lz
infinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.tar.xz
infinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.tar.zst
infinity-for-reddit-e487f27461e0bf7e404764ce790d3ed38180b9d6.zip
Enlarge clicking area for buttons in comments. Add extra bottom padding for CustomToroContainer in ViewPostDetailActivity.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewPostDetailActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewPostDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewPostDetailActivity.java
index 362eae60..d46fdfe1 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewPostDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewPostDetailActivity.java
@@ -247,7 +247,7 @@ public class ViewPostDetailActivity extends BaseActivity implements FlairBottomS
CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) fab.getLayoutParams();
params.bottomMargin = navBarHeight;
fab.setLayoutParams(params);
- mRecyclerView.setPadding(0, 0, 0, navBarHeight);
+ mRecyclerView.setPadding(0, 0, 0, navBarHeight + mRecyclerView.getPaddingBottom());
showToast = true;
}
}