diff --git a/lib/app/views/app_page.dart b/lib/app/views/app_page.dart index f4e14ecd..773fd634 100755 --- a/lib/app/views/app_page.dart +++ b/lib/app/views/app_page.dart @@ -131,7 +131,9 @@ class AppPage extends StatelessWidget { const SizedBox(width: 48), ], ), - NavigationContent(key: _navExpandedKey, extended: true), + Material( + type: MaterialType.transparency, + child: NavigationContent(key: _navExpandedKey, extended: true)), ], ), ), diff --git a/lib/app/views/navigation.dart b/lib/app/views/navigation.dart index f2734b49..3543d451 100644 --- a/lib/app/views/navigation.dart +++ b/lib/app/views/navigation.dart @@ -71,18 +71,15 @@ class NavigationItem extends StatelessWidget { ), ); } else { - return Material( - type: MaterialType.transparency, - child: ListTile( - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(48)), - leading: leading, - title: Text(title), - minVerticalPadding: 16, - onTap: onTap, - tileColor: selected ? colorScheme.secondaryContainer : null, - textColor: selected ? colorScheme.onSecondaryContainer : null, - iconColor: selected ? colorScheme.onSecondaryContainer : null, - ), + return ListTile( + shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(48)), + leading: leading, + title: Text(title), + minVerticalPadding: 16, + onTap: onTap, + tileColor: selected ? colorScheme.secondaryContainer : null, + textColor: selected ? colorScheme.onSecondaryContainer : null, + iconColor: selected ? colorScheme.onSecondaryContainer : null, ); } }