mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-02 22:34:56 -04:00
more messages work
This commit is contained in:
parent
634543910b
commit
ff14969ffa
12 changed files with 226 additions and 192 deletions
|
@ -100,6 +100,8 @@ class ActiveConversationMessagesCubit extends BlocMapCubit<TypedKey,
|
|||
localMessagesRecordKey: localConversation.messages,
|
||||
remoteMessagesRecordKey: remoteConversation.messages)));
|
||||
|
||||
////
|
||||
|
||||
final ActiveAccountInfo _activeAccountInfo;
|
||||
ActiveConversationsBlocMapState _lastActiveConversationsState =
|
||||
ActiveConversationsBlocMapState();
|
||||
|
|
|
@ -25,10 +25,6 @@ class ChatSingleContactItemWidget extends StatelessWidget {
|
|||
final scale = theme.extension<ScaleScheme>()!;
|
||||
|
||||
final activeChatCubit = context.watch<ActiveChatCubit>();
|
||||
// final activeConversation = context.select<ActiveConversationsCubit, >();
|
||||
// final activeConversationMessagesCubit =
|
||||
// context.watch<ActiveConversationMessagesCubit>(); xxx does this need to be here?
|
||||
|
||||
final remoteConversationRecordKey =
|
||||
proto.TypedKeyProto.fromProto(_contact.remoteConversationRecordKey);
|
||||
final selected = activeChatCubit.state == remoteConversationRecordKey;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue