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:
@@ -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: () {
|
||||
|
||||
Reference in New Issue
Block a user