crypto work

This commit is contained in:
Christien Rioux 2024-05-27 22:58:37 -04:00
parent e04fd7ee77
commit 8a5af51ec7
8 changed files with 53 additions and 36 deletions

View file

@ -28,13 +28,13 @@ class HomeAccountReadyChatState extends State<HomeAccountReadyChat> {
}
Widget buildChatComponent(BuildContext context) {
final activeChatRemoteConversationKey =
final activeChatLocalConversationKey =
context.watch<ActiveChatCubit>().state;
if (activeChatRemoteConversationKey == null) {
if (activeChatLocalConversationKey == null) {
return const EmptyChatWidget();
}
return ChatComponent.builder(
localConversationRecordKey: activeChatRemoteConversationKey);
localConversationRecordKey: activeChatLocalConversationKey);
}
@override