update name setting when own contact changes

This commit is contained in:
marlon-erler
2026-09-28 15:07:02 +02:00
parent f4daca315c
commit 0afbfc2d0b
6 changed files with 309 additions and 142 deletions
+3 -3
View File
@@ -25,8 +25,8 @@ import ContactListViewModel from "./ViewModel/Global/contactViewModel";
// models
const storageModel = new StorageModel();
const contactListModel = new ContactListModel(storageModel);
const settingsModel = new SettingsModel(storageModel, contactListModel);
const settingsModel = new SettingsModel(storageModel);
const contactListModel = new ContactListModel(storageModel, settingsModel);
const connectionModel = new ConnectionModel(storageModel);
const chatListModel = new ChatListModel(
storageModel,
@@ -46,8 +46,8 @@ const coreViewModel = new CoreViewModel(
);
const storageViewModel = new StorageViewModel(coreViewModel);
const contactListViewModel = new ContactListViewModel(contactListModel);
const settingsViewModel = new SettingsViewModel(coreViewModel, settingsModel);
const contactListViewModel = new ContactListViewModel(contactListModel, settingsViewModel);
const connectionViewModel = new ConnectionViewModel(coreViewModel);
const chatListViewModel = new ChatListViewModel(
coreViewModel,