mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-02 19:26:16 -04:00
fix deadlock
clean up async handling improve styled alerts
This commit is contained in:
parent
22390f31ff
commit
8edccb8a0f
21 changed files with 125 additions and 108 deletions
|
@ -78,7 +78,7 @@ class ActiveConversationsBlocMapCubit extends BlocMapCubit<TypedKey,
|
|||
{required TypedKey remoteIdentityPublicKey,
|
||||
required TypedKey localConversationRecordKey,
|
||||
required TypedKey remoteConversationRecordKey}) async =>
|
||||
add(() {
|
||||
add(localConversationRecordKey, () async {
|
||||
// Conversation cubit the tracks the state between the local
|
||||
// and remote halves of a contact's relationship with this account
|
||||
final conversationCubit = ConversationCubit(
|
||||
|
@ -123,7 +123,7 @@ class ActiveConversationsBlocMapCubit extends BlocMapCubit<TypedKey,
|
|||
loading: AsyncValue.loading,
|
||||
error: AsyncValue.error));
|
||||
|
||||
return MapEntry(localConversationRecordKey, transformedCubit);
|
||||
return transformedCubit;
|
||||
});
|
||||
|
||||
/// StateFollower /////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue