mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Fix minor issue in PostRecyclerViewAdapter.
This commit is contained in:
parent
b47422fd75
commit
3ce0d41b5c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user