fixed time ago in notifications

This commit is contained in:
amirrezaghabeli
2025-09-27 13:57:47 +03:30
parent 52e68fa670
commit c989f3ae1f
2 changed files with 6 additions and 5 deletions
@@ -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,