Skip to content

Commit

Permalink
[Catalog] Fixed corner family options in preference.
Browse files Browse the repository at this point in the history
After migrating to Material 3 shape theming, the corner family options in the catalog preference are broken. The fix leverages the new theme attribute shapeCornerFamily to set corner family in all shape appearance styles.

PiperOrigin-RevId: 461984493
  • Loading branch information
pekingme authored and paulfthomas committed Jul 20, 2022
1 parent 2a58122 commit fd3adc6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -17,11 +17,11 @@

<resources>
<style name="ThemeOverlay.Shapes.Rounded" parent="">
<item name="cornerFamily">rounded</item>
<item name="shapeCornerFamily">rounded</item>
</style>

<style name="ThemeOverlay.Shapes.Cut" parent="">
<item name="cornerFamily">cut</item>
<item name="shapeCornerFamily">cut</item>
</style>

</resources>
Expand Down

0 comments on commit fd3adc6

Please sign in to comment.