diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-26 09:47:40 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-26 09:47:40 +0000 |
commit | 3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8 (patch) | |
tree | d00d10f96178973f58beb81c0bec4ce366c714de | |
parent | b47422fd758896c7e3371bcf59ec6fe9a262e980 (diff) | |
download | infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.tar infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.tar.gz infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.tar.bz2 infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.tar.lz infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.tar.xz infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.tar.zst infinity-for-reddit-3ce0d41b5c8772aa16779d11a9d8c7c13b473eb8.zip |
Fix minor issue in PostRecyclerViewAdapter.
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java index 32f3eb84..285f6441 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java @@ -783,7 +783,6 @@ public class PostRecyclerViewAdapter extends PagedListAdapter<Post, RecyclerView } if (mCompactLayoutToolbarHiddenByDefault) { - mCallback.delayTransition(); ViewGroup.LayoutParams params = (LinearLayout.LayoutParams) ((PostCompactBaseViewHolder) holder).bottomConstraintLayout.getLayoutParams(); params.height = 0; ((PostCompactBaseViewHolder) holder).bottomConstraintLayout.setLayoutParams(params); @@ -791,7 +790,6 @@ public class PostRecyclerViewAdapter extends PagedListAdapter<Post, RecyclerView ViewGroup.LayoutParams params = (LinearLayout.LayoutParams) ((PostCompactBaseViewHolder) holder).bottomConstraintLayout.getLayoutParams(); params.height = LinearLayout.LayoutParams.WRAP_CONTENT; ((PostCompactBaseViewHolder) holder).bottomConstraintLayout.setLayoutParams(params); - mCallback.delayTransition(); } if (mShowDividerInCompactLayout) { |