Chat Updates & Counter Event Modifications

merge-requests/69/head
Aamir Muhammad 3 years ago
parent 76fc093577
commit 622404896c

@ -69,7 +69,7 @@ class _ChatDetailScreenState extends State<ChatDetailScreen> {
} }
return Scaffold( return Scaffold(
backgroundColor: const Color(0xFFF8F8F8), backgroundColor: MyColors.backgroundColor,
appBar: AppBarWidget(context, appBar: AppBarWidget(context,
title: userDetails["targetUser"].userName.toString().replaceAll(".", " ").capitalizeFirstofEach, title: userDetails["targetUser"].userName.toString().replaceAll(".", " ").capitalizeFirstofEach,
showHomeButton: false, showHomeButton: false,

@ -36,6 +36,11 @@ class _ChatHomeState extends State<ChatHome> {
data = Provider.of<ChatProviderModel>(context, listen: false); data = Provider.of<ChatProviderModel>(context, listen: false);
data.getUserAutoLoginToken(context).whenComplete(() { data.getUserAutoLoginToken(context).whenComplete(() {
data.getUserRecentChats(); data.getUserRecentChats();
// GetUserChatHistoryNotDeliveredAsync(
// userId: int.parse(
// AppState().chatDetails!.response!.id.toString(),
// ),
// );
}); });
} }

Loading…
Cancel
Save