Skip to content

Commit

Permalink
Fix rounded corners in widget preview layouts [VPNAND-2070].
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonides-proton committed Feb 20, 2025
1 parent 85c4a29 commit b305fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/values/widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<dimen name="widget_background_radius" type="dimen">16dp</dimen>
<dimen name="widget_button_radius" type="dimen">8dp</dimen>
<!-- Some OS dialogs for adding widgets fail to apply widget rounded corners therefore always set it. -->
<dimen name="widget_background_radius_preview" type="dimen">@dimen/widget_background_radius</dimen>
<dimen name="widget_background_radius_preview" type="dimen">16dp</dimen>

<dimen name="widget_min_width">100dp</dimen>
<!-- The min height is smaller than actual min height of the layout but Android does some weird
Expand Down

0 comments on commit b305fb6

Please sign in to comment.