From 622404896cf1df7f1e23323476bb7d8f4db76d48 Mon Sep 17 00:00:00 2001 From: "Aamir.Muhammad" Date: Mon, 21 Nov 2022 16:44:23 +0300 Subject: [PATCH] Chat Updates & Counter Event Modifications --- lib/ui/chat/chat_detailed_screen.dart | 2 +- lib/ui/chat/chat_home.dart | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ui/chat/chat_detailed_screen.dart b/lib/ui/chat/chat_detailed_screen.dart index 1374608..787582d 100644 --- a/lib/ui/chat/chat_detailed_screen.dart +++ b/lib/ui/chat/chat_detailed_screen.dart @@ -69,7 +69,7 @@ class _ChatDetailScreenState extends State { } return Scaffold( - backgroundColor: const Color(0xFFF8F8F8), + backgroundColor: MyColors.backgroundColor, appBar: AppBarWidget(context, title: userDetails["targetUser"].userName.toString().replaceAll(".", " ").capitalizeFirstofEach, showHomeButton: false, diff --git a/lib/ui/chat/chat_home.dart b/lib/ui/chat/chat_home.dart index b2db98a..4286f52 100644 --- a/lib/ui/chat/chat_home.dart +++ b/lib/ui/chat/chat_home.dart @@ -36,6 +36,11 @@ class _ChatHomeState extends State { data = Provider.of(context, listen: false); data.getUserAutoLoginToken(context).whenComplete(() { data.getUserRecentChats(); + // GetUserChatHistoryNotDeliveredAsync( + // userId: int.parse( + // AppState().chatDetails!.response!.id.toString(), + // ), + // ); }); }