feat: Implement contact form clearing, refactor chat avatar display to use S3Image, add unread count to notification filter, and enhance agent detail layout.

This commit is contained in:
pradeepkumar committed 2026-03-15 00:03:38 +05:30
1 parent de4a7b8040
commit fed89cbef2
4 files changed
+97 -67

No files matched your search

@@ -83,7 +83,13 @@ class _NotificationsScreenState extends ConsumerState<NotificationsScreen> {
children: [
_buildFilterChip('All', 'all'),
const SizedBox(width: 8),
_buildFilterChip('Unread', 'unread'),
Builder(builder: (context) {
final unreadCount = ref.watch(unreadCountProvider);
final label = unreadCount > 0
? 'Unread ($unreadCount)'
: 'Unread';
return _buildFilterChip(label, 'unread');
}),
const Spacer(),
GestureDetector(
onTap: () {