Correct ink splashes
This commit is contained in:
parent
b550eb751e
commit
d299dc99cd
|
|
@ -449,8 +449,6 @@ class _DrawerTileState extends State<DrawerTile> {
|
|||
}
|
||||
|
||||
Widget child = Material(
|
||||
color: Colors.transparent,
|
||||
child: Container(
|
||||
color: isSelected
|
||||
? convertHexStringToColor(enableDarkMode
|
||||
? kDefaultDarkSelectedColorMenu
|
||||
|
|
@ -478,8 +476,7 @@ class _DrawerTileState extends State<DrawerTile> {
|
|||
),
|
||||
onTap: () {
|
||||
if (widget.entityType != null) {
|
||||
viewEntitiesByType(
|
||||
context: context, entityType: widget.entityType);
|
||||
viewEntitiesByType(context: context, entityType: widget.entityType);
|
||||
} else {
|
||||
widget.onTap();
|
||||
}
|
||||
|
|
@ -499,7 +496,6 @@ class _DrawerTileState extends State<DrawerTile> {
|
|||
*/
|
||||
trailing: state.isMenuCollapsed ? null : trailingWidget,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
if (state.isMenuCollapsed) {
|
||||
|
|
@ -525,7 +521,7 @@ class SidebarFooter extends StatelessWidget {
|
|||
final localization = AppLocalization.of(context);
|
||||
final account = state.userCompany.account;
|
||||
|
||||
return Container(
|
||||
return Material(
|
||||
color: Theme.of(context).bottomAppBarColor,
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
|
|
|
|||
Loading…
Reference in New Issue