continue layout, add button to close chat page

This commit is contained in:
marlon-erler
2024-07-20 15:49:58 +02:00
parent 256f9a4066
commit c1b7dc46dd
6 changed files with 120 additions and 34 deletions
+4
View File
@@ -25,6 +25,10 @@ export default class ChatViewModel {
this.chatListViewModel.openChat(this);
}
close = () => {
this.chatListViewModel.closeChat();
}
// init
constructor(chatListViewModel: ChatListViewModel, chatModel: ChatModel) {
this.chatModel = chatModel;