Don't wrap entity list tile

This commit is contained in:
Hillel Coren 2020-08-17 18:43:19 +03:00
parent 178f2c4d83
commit 34876d089a
1 changed files with 7 additions and 3 deletions

View File

@ -120,9 +120,13 @@ class _EntityListTileState extends State<EntityListTile> {
inspectEntity(context: context, entity: widget.entity),
onLongPress: () => inspectEntity(
context: context, entity: widget.entity, longPress: true),
title: Text(localization.lookup('${widget.entity.entityType}') +
' ' +
widget.entity.listDisplayName),
title: Text(
localization.lookup('${widget.entity.entityType}') +
' ' +
widget.entity.listDisplayName,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
subtitle:
(widget.subtitle ?? '').isEmpty && widget.entity.isActive
? null