Advanced chat management via UI
This commit is contained in:
1 parent
fbee31841d
commit
5351144edf
9 files changed
+396
-59
No files matched your search
@@ -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: () {
|
||||
|
||||
Reference in new issue
Block a user