Recurring vs. Recurring #382

This commit is contained in:
Hillel Coren 2022-01-30 11:53:44 +02:00
parent 93aa2fb17b
commit 4ea68e5823
1 changed files with 9 additions and 9 deletions

View File

@ -654,16 +654,16 @@ class _DrawerTileState extends State<DrawerTile> {
color: textColor, color: textColor,
), ),
), ),
title: Text( title: state.isMenuCollapsed
widget.title, ? SizedBox()
key: ValueKey('menu_${widget.title}'), : Text(
overflow: TextOverflow.clip, widget.title,
maxLines: 1, key: ValueKey('menu_${widget.title}'),
style: Theme.of(context).textTheme.bodyText1.copyWith( style: Theme.of(context).textTheme.bodyText1.copyWith(
fontSize: 14, fontSize: 14,
color: textColor, color: textColor,
),
), ),
),
onTap: () { onTap: () {
if (widget.entityType != null) { if (widget.entityType != null) {
viewEntitiesByType( viewEntitiesByType(