Icon colors change when collapsing navigation sidebar menu
This commit is contained in:
parent
3f585c4021
commit
9f6c55c222
|
|
@ -689,16 +689,19 @@ class _DrawerTileState extends State<DrawerTile> {
|
|||
message: prefState.enableTooltips ? widget.title : '',
|
||||
child: ColoredBox(
|
||||
color: color,
|
||||
child: InkWell(
|
||||
onTap: onTap,
|
||||
onLongPress: onLongPress,
|
||||
child: SizedBox(
|
||||
height: 40,
|
||||
child: Icon(
|
||||
widget.icon,
|
||||
color: textColor,
|
||||
),
|
||||
)),
|
||||
child: Opacity(
|
||||
opacity: isSelected ? 1 : .8,
|
||||
child: InkWell(
|
||||
onTap: onTap,
|
||||
onLongPress: onLongPress,
|
||||
child: SizedBox(
|
||||
height: 40,
|
||||
child: Icon(
|
||||
widget.icon,
|
||||
color: textColor,
|
||||
),
|
||||
)),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue