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;
if (task.projectId.isNotEmpty) {
subtitle +=
'' + state.projectState.get(task.projectId).listDisplayName;
if (client.isOld) {
subtitle += '';
}
subtitle += state.projectState.get(task.projectId).listDisplayName;
}
final duration = LiveText(() {