chore(ui): bump jiffy to v6.2.1
Signed-off-by: xsahil03x <[email protected]>
(cherry picked from commit 79faac57e5)
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -74,11 +74,12 @@ class StreamUserItem extends StatelessWidget {
|
||||
|
||||
Widget _buildLastActive(BuildContext context) {
|
||||
final chatTheme = StreamChatTheme.of(context);
|
||||
final lastActive = user.lastActive ?? DateTime.now();
|
||||
return Text(
|
||||
user.online
|
||||
? context.translations.userOnlineText
|
||||
: '${context.translations.userLastOnlineText} '
|
||||
'${Jiffy(user.lastActive).fromNow()}',
|
||||
'${Jiffy.parseFromDateTime(lastActive).fromNow()}',
|
||||
style: chatTheme.textTheme.footnote.copyWith(
|
||||
color: chatTheme.colorTheme.textHighEmphasis.withOpacity(0.5),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user