Skip to content

Conversation

vitusortner
Copy link

@vitusortner vitusortner commented Jan 17, 2025

The system corner radius (system_app_widget_background_radius) was previously never applied because of a missing return.

Also, the docs of the cornerRadius modifier mention that it only works on SDK 31 and above, which allows us to simplify the corner radius modifiers a bit.

Related PR

Before After
Screenshot_1737045668 Screenshot_1737048129

@vitusortner vitusortner marked this pull request as ready for review January 17, 2025 08:57
@shamalip
Copy link
Contributor

The Scaffold component in Glance provides the appropriate background color and radius for rectangular widgets.
Example: bc9a162#diff-d34a42e99cde7c836c2e038b5ddf4c6550a711ace80438cf04da8434691263be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants