Fix radius for menuItem border

This commit is contained in:
Neeraj Gupta 2023-02-01 19:49:16 +05:30
parent dc97f5b8dc
commit 00bf2c4c6d
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1
2 changed files with 2 additions and 4 deletions

View file

@ -54,7 +54,7 @@ class MenuItemWidget extends StatefulWidget {
this.onDoubleTap,
this.menuItemColor,
this.alignCaptionedTextToLeft = false,
this.borderRadius = 4.0,
this.borderRadius = 8.0,
this.pressedColor,
this.expandableController,
this.isBottomBorderRadiusRemoved = false,

View file

@ -72,7 +72,6 @@ class _ShareCollectionPageState extends State<ShareCollectionPage> {
),
leadingIcon: Icons.add,
menuItemColor: getEnteColorScheme(context).fillFaint,
borderRadius: 4.0,
isTopBorderRadiusRemoved: _sharees.isNotEmpty,
isBottomBorderRadiusRemoved: true,
onTap: () async {
@ -101,8 +100,7 @@ class _ShareCollectionPageState extends State<ShareCollectionPage> {
),
leadingIcon: Icons.add,
menuItemColor: getEnteColorScheme(context).fillFaint,
borderRadius: 4.0,
isTopBorderRadiusRemoved: _sharees.isNotEmpty,
isTopBorderRadiusRemoved: true,
onTap: () async {
routeToPage(context, AddParticipantPage(widget.collection, false))
.then(