Skip to content

Commit 85e2fd0

Browse files
imhappidsn5ft
authored andcommitted
[MaterialButton] Update corner radius behavior to override StateListShapeAppearance if set
PiperOrigin-RevId: 784640767
1 parent e39f765 commit 85e2fd0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/java/com/google/android/material/button/MaterialButton.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ public MaterialButton(@NonNull Context context, @Nullable AttributeSet attrs, in
315315

316316
if (shapeAppearance instanceof StateListShapeAppearanceModel) {
317317
materialButtonHelper.setCornerSpringForce(createSpringForce());
318-
materialButtonHelper.setShapeAppearance(shapeAppearance);
319318
}
320319
setOpticalCenterEnabled(opticalCenterEnabled);
321320

0 commit comments

Comments
 (0)