mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-26 12:04:12 +01:00
fix: Missing null check
This commit is contained in:
parent
12a3b04142
commit
853fd66b54
@ -105,6 +105,7 @@ class UserDeviceListItem extends StatelessWidget {
|
|||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
|
if (userDevice.lastSeenTs != null)
|
||||||
Text(DateTime.fromMillisecondsSinceEpoch(userDevice.lastSeenTs)
|
Text(DateTime.fromMillisecondsSinceEpoch(userDevice.lastSeenTs)
|
||||||
.localizedTimeShort(context)),
|
.localizedTimeShort(context)),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user