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(
contentPadding: const EdgeInsets.symmetric(horizontal: 16),
title: Text(title),
subtitle: Text(subtitle ?? ''),
subtitle: Text((subtitle ?? '').isEmpty
? AppLocalization.of(context).none
: subtitle),
leading: IgnorePointer(
child: IconButton(
icon: Icon(getEntityIcon(entityType), size: 18.0),