Fix radius for menuItem border
This commit is contained in:
parent
dc97f5b8dc
commit
00bf2c4c6d
2 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue