mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
Remove now-unnecessary thumbnail onMeasure().
This commit is contained in:
parent
6fd10042fb
commit
c9bb3dd469
@ -112,16 +112,6 @@ public class ConversationItemThumbnail extends FrameLayout {
|
||||
canvas.drawPath(corners, outlinePaint);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||
|
||||
if (getMeasuredWidth() != thumbnail.getMeasuredWidth()) {
|
||||
getLayoutParams().width = shade.getLayoutParams().width = thumbnail.getMeasuredWidth();
|
||||
measure(widthMeasureSpec, heightMeasureSpec);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFocusable(boolean focusable) {
|
||||
thumbnail.setFocusable(focusable);
|
||||
|
Loading…
Reference in New Issue
Block a user