|
|
|
|
@ -78,7 +78,7 @@ class _ChatDetailScreenState extends State<ChatDetailScreen> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
params = ModalRoute.of(context)!.settings.arguments as ChatDetailedScreenParams;
|
|
|
|
|
data = Provider.of<ChatProviderModel>(context, listen: false);
|
|
|
|
|
// callPro = Provider.of<ChatCallProvider>(context, listen: false);
|
|
|
|
|
// callPro = Provider.of<ChatCallProvider>(context, listen: false);
|
|
|
|
|
if (params != null) {
|
|
|
|
|
data.getSingleUserChatHistory(
|
|
|
|
|
senderUID: AppState().chatDetails!.response!.id!.toInt(),
|
|
|
|
|
@ -143,7 +143,7 @@ class _ChatDetailScreenState extends State<ChatDetailScreen> {
|
|
|
|
|
dateTime: m.dateFormte(m.userChatHistory[i].createdDate!),
|
|
|
|
|
cItem: m.userChatHistory[i],
|
|
|
|
|
),
|
|
|
|
|
onRightSwipe: (val) {
|
|
|
|
|
onRightSwipe: () {
|
|
|
|
|
m.chatReply(
|
|
|
|
|
m.userChatHistory[i],
|
|
|
|
|
);
|
|
|
|
|
|