fix: Missing null check
This commit is contained in:
parent
86998374b9
commit
619d03a37b
1 changed files with 3 additions and 2 deletions
|
|
@ -105,8 +105,9 @@ class UserDeviceListItem extends StatelessWidget {
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
Text(DateTime.fromMillisecondsSinceEpoch(userDevice.lastSeenTs)
|
if (userDevice.lastSeenTs != null)
|
||||||
.localizedTimeShort(context)),
|
Text(DateTime.fromMillisecondsSinceEpoch(userDevice.lastSeenTs)
|
||||||
|
.localizedTimeShort(context)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
subtitle: Row(
|
subtitle: Row(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue