This commit is contained in:
spaced4ndy
2024-05-07 14:38:57 +04:00
parent 62c67a3ffd
commit 7896be3b03
@@ -269,6 +269,7 @@ struct HomeView: View {
}
@ViewBuilder private func chatView() -> some View {
// TODO changing alias doesn't update list
if let chatId = chatModel.chatId, let chat = chatModel.getChat(chatId) {
ChatView(chat: chat).onAppear {
loadChat(chat: chat)