mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-02 14:26:12 -04:00
checkpoint
This commit is contained in:
parent
c40f835ec5
commit
aea196deb3
7 changed files with 371 additions and 177 deletions
|
@ -116,14 +116,11 @@ class _EditAccountPageState extends State<EditAccountPage> {
|
|||
});
|
||||
try {
|
||||
// Look up account cubit for this specific account
|
||||
final perAccountCollectionCubit =
|
||||
context.read<PerAccountCollectionBlocMapCubit>();
|
||||
await perAccountCollectionCubit.operateAsync(
|
||||
widget.superIdentityRecordKey, closure: (c) async {
|
||||
// Update account profile DHT record
|
||||
// This triggers ConversationCubits to update
|
||||
await c.accountRecordCubit!.updateProfile(newProfile);
|
||||
});
|
||||
final accountRecordCubit = context.read<AccountRecordCubit>();
|
||||
|
||||
// Update account profile DHT record
|
||||
// This triggers ConversationCubits to update
|
||||
await accountRecordCubit.updateProfile(newProfile);
|
||||
|
||||
// Update local account profile
|
||||
await AccountRepository.instance.editAccountProfile(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue