Commit 8f4f27f
action_sheet: Use directional border radius for reaction buttons
Previously, the reaction buttons in the message action sheet used
hardcoded physical border radii. In RTL locales, this caused the
rounded corners to appear on the inner edges of the button row
instead of the outer edges.
We now use `BorderRadiusDirectional` and resolve it against the
context's text direction to ensure the correct corners are rounded
regardless of layout direction.1 parent fa947a1 commit 8f4f27f
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
| 1236 | + | |
| 1237 | + | |
1237 | 1238 | | |
1238 | 1239 | | |
1239 | 1240 | | |
| |||
1253 | 1254 | | |
1254 | 1255 | | |
1255 | 1256 | | |
| 1257 | + | |
1256 | 1258 | | |
1257 | 1259 | | |
1258 | 1260 | | |
| |||
1289 | 1291 | | |
1290 | 1292 | | |
1291 | 1293 | | |
1292 | | - | |
| 1294 | + | |
| 1295 | + | |
1293 | 1296 | | |
1294 | 1297 | | |
1295 | 1298 | | |
| |||
0 commit comments