aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java
index f9b4ddaf..d4b53709 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java
@@ -245,15 +245,15 @@ public class CommentsListingFragment extends Fragment implements FragmentCommuni
});
if (enableSwipeAction) {
- touchHelper.attachToRecyclerView(binding.recyclerViewCommentsListingFragment, 1);
+ touchHelper.attachToRecyclerView(binding.recyclerViewCommentsListingFragment, 5);
}
- new Handler().postDelayed(() -> bindView(resources), 0);
+ new Handler().postDelayed(this::bindView, 0);
return binding.getRoot();
}
- private void bindView(Resources resources) {
+ private void bindView() {
if (mActivity != null && !mActivity.isFinishing() && !mActivity.isDestroyed()) {
mLinearLayoutManager = new LinearLayoutManagerBugFixed(mActivity);
binding.recyclerViewCommentsListingFragment.setLayoutManager(mLinearLayoutManager);