Null safety

This commit is contained in:
Hillel Coren 2023-10-01 21:51:25 +03:00
parent 4a99ef1042
commit 598ad685b4
1 changed files with 4 additions and 2 deletions

View File

@ -79,8 +79,10 @@ class TaskListItem extends StatelessWidget {
String subtitle = client.displayName; String subtitle = client.displayName;
if (task.projectId.isNotEmpty) { if (task.projectId.isNotEmpty) {
subtitle += if (client.isOld) {
'' + state.projectState.get(task.projectId).listDisplayName; subtitle += '';
}
subtitle += state.projectState.get(task.projectId).listDisplayName;
} }
final duration = LiveText(() { final duration = LiveText(() {