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
2026-03-15 00:03:38 +05:30
parent de4a7b8040
commit fed89cbef2
4 changed files with 97 additions and 67 deletions

View File

@@ -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: () {