mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
[MaterialButton] Update corner radius behavior to override StateListShapeAppearance if set
PiperOrigin-RevId: 784640767
This commit is contained in:
parent
e39f765a9d
commit
85e2fd04bd
@ -315,7 +315,6 @@ public class MaterialButton extends AppCompatButton implements Checkable, Shapea
|
||||
|
||||
if (shapeAppearance instanceof StateListShapeAppearanceModel) {
|
||||
materialButtonHelper.setCornerSpringForce(createSpringForce());
|
||||
materialButtonHelper.setShapeAppearance(shapeAppearance);
|
||||
}
|
||||
setOpticalCenterEnabled(opticalCenterEnabled);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user