mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 14:40:58 -04:00
new chat widget
This commit is contained in:
parent
063eeb8d12
commit
1a9cca0667
44 changed files with 1904 additions and 981 deletions
|
@ -130,15 +130,19 @@ class _HomeAccountReadyState extends State<HomeAccountReady> {
|
|||
if (activeChatLocalConversationKey == null) {
|
||||
return const NoConversationWidget();
|
||||
}
|
||||
return ChatComponentWidget(
|
||||
localConversationRecordKey: activeChatLocalConversationKey,
|
||||
onCancel: () {
|
||||
activeChatCubit.setActiveChat(null);
|
||||
},
|
||||
onClose: () {
|
||||
activeChatCubit.setActiveChat(null);
|
||||
},
|
||||
key: ValueKey(activeChatLocalConversationKey));
|
||||
return Material(
|
||||
color: Colors.transparent,
|
||||
child: Builder(
|
||||
builder: (context) => ChatComponentWidget.singleContact(
|
||||
context: context,
|
||||
localConversationRecordKey: activeChatLocalConversationKey,
|
||||
onCancel: () {
|
||||
activeChatCubit.setActiveChat(null);
|
||||
},
|
||||
onClose: () {
|
||||
activeChatCubit.setActiveChat(null);
|
||||
},
|
||||
key: ValueKey(activeChatLocalConversationKey))));
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue