mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-02 11:16:10 -04:00
refactor bloc tools to its own package
This commit is contained in:
parent
8e7619677a
commit
43b01c7555
34 changed files with 284 additions and 146 deletions
|
@ -64,7 +64,7 @@ class ConversationCubit extends Cubit<AsyncValue<ConversationState>> {
|
|||
// Open remote record key if it is specified
|
||||
final pool = DHTRecordPool.instance;
|
||||
final crypto = await getConversationCrypto();
|
||||
final record = await pool.openRead(_remoteConversationRecordKey!,
|
||||
final record = await pool.openRead(_remoteConversationRecordKey,
|
||||
parent: accountRecordKey, crypto: crypto);
|
||||
await _setRemoteConversation(record);
|
||||
});
|
||||
|
|
|
@ -35,7 +35,6 @@ class ContactListWidget extends StatelessWidget {
|
|||
child: (contactList.isEmpty)
|
||||
? const EmptyContactListWidget()
|
||||
: SearchableList<proto.Contact>(
|
||||
autoFocusOnSearch: false,
|
||||
initialList: contactList.toList(),
|
||||
builder: (l, i, c) => ContactItemWidget(contact: c),
|
||||
filter: (value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue