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
(cherry picked from commit fd3adc6)
  • Loading branch information
pekingme authored and drchen committed Aug 4, 2022
1 parent f0e6625 commit f6942a4
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 f6942a4

Please sign in to comment.