re-implement chat sorting

This commit is contained in:
marlon-erler
2024-07-23 14:15:01 +02:00
parent b575892075
commit 20488f8a26
5 changed files with 100 additions and 2 deletions
+5
View File
@@ -54,6 +54,11 @@ export default class ChatViewModel {
this.displayedColor.value = this.settingsPageViewModel.color.value;
};
updateIndex = (): void => {
const index: number = this.chatListViewModel.indexManager.getIndex(this);
this.index.value = index;
};
// load
loadPageSelection = (): void => {
const path: string[] = StorageModel.getPath(