feat: Implement messaging functionality with conversation and chat screens, and enhance agent detail views.

This commit is contained in:
pradeepkumar committed 2026-03-08 00:41:44 +05:30
1 parent bdb7b04fbf
commit bba9cd3936
23 files changed
+4402 -3

No files matched your search

@@ -150,7 +150,16 @@ class _HomeScreenState extends ConsumerState<HomeScreen> {
context.push('/agents/search');
return;
}
if (index == 2 || index == 3) {
if (index == 2) {
final authState = ref.read(authProvider);
if (authState.status != AuthStatus.authenticated) {
context.push('/login');
return;
}
context.push('/messages');
return;
}
if (index == 3) {
final authState = ref.read(authProvider);
if (authState.status != AuthStatus.authenticated) {
context.push('/login');