Skip to content

Commit

Permalink
Update FeedSwipeRefreshLayout file
Browse files Browse the repository at this point in the history
  • Loading branch information
kritagya-khanna authored Jan 14, 2025
1 parent 40cb1bf commit 66132bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -237,7 +237,7 @@ public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {

// Update the measured dimensions to match the child's height plus padding
setMeasuredDimension(getMeasuredWidth(),
mTarget.getMeasuredHeight() + getPaddingTop() + getPaddingBottom());
Math.max(mTarget.getMeasuredHeight() + getPaddingTop() + getPaddingBottom(), getMeasuredHeight()));
}

@Override

0 comments on commit 66132bf

Please sign in to comment.