Advanced chat management via UI

This commit is contained in:
Shivering Ocelot committed 2025-05-22 07:48:36 -05:00
1 parent fbee31841d
commit 5351144edf
9 files changed
+396 -59

No files matched your search

+12
View File
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'agent_list_screen.dart';
import 'chat_list_screen.dart';
import 'user_checker.dart';
import 'backend.dart';
@@ -13,6 +14,17 @@ class AppMenu extends StatelessWidget {
appBar: AppBar(title: const Text('Menu')),
body: ListView(
children: <Widget>[
ListTile(
title: const Text('Agents'),
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const AgentListScreen(),
),
);
},
),
ListTile(
title: const Text('Chats'),
onTap: () {