fixed time ago in notifications
This commit is contained in:
@@ -112,7 +112,7 @@ class NotificationCard extends StatelessWidget {
|
||||
SvgPicture.asset(AssetsManager.calendar),
|
||||
SizedBox(width: 4.0.w()),
|
||||
Text(
|
||||
viewModel.timeAgo(notification.createdAt!),
|
||||
viewModel.timeAgo(notification.createdAt!.toString()),
|
||||
style: TextStyle(
|
||||
fontSize: 12.0.sp(),
|
||||
fontWeight: FontWeight.w400,
|
||||
|
||||
Reference in New Issue
Block a user