mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 13:29:50 +02:00
Fix minor issue in PostRecyclerViewAdapter.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user