This commit is contained in:
Hillel Coren 2020-10-14 23:44:28 +03:00
parent ef99a868e8
commit c04fde3de7
1 changed files with 3 additions and 1 deletions

View File

@ -172,7 +172,9 @@ class EntitiesListTile extends StatelessWidget {
child: ListTile( child: ListTile(
contentPadding: const EdgeInsets.symmetric(horizontal: 16), contentPadding: const EdgeInsets.symmetric(horizontal: 16),
title: Text(title), title: Text(title),
subtitle: Text(subtitle ?? ''), subtitle: Text((subtitle ?? '').isEmpty
? AppLocalization.of(context).none
: subtitle),
leading: IgnorePointer( leading: IgnorePointer(
child: IconButton( child: IconButton(
icon: Icon(getEntityIcon(entityType), size: 18.0), icon: Icon(getEntityIcon(entityType), size: 18.0),