From 78affeddd94eba15328ce16569d70f3625e470a0 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 25 Jun 2020 10:06:03 -0400 Subject: [PATCH] Room settings avatar color: respond to name field --- TODO.md | 1 - src/gui/Pages/Chat/RoomPane/SettingsView.qml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index def9e1fa..71851f36 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,5 @@ # TODO -- room settings: make letter avatar respond to name change in real time - sessions page size - menu click-through padding to close it easily - clear listview checked on message clear diff --git a/src/gui/Pages/Chat/RoomPane/SettingsView.qml b/src/gui/Pages/Chat/RoomPane/SettingsView.qml index 492eb602..437a8ed9 100644 --- a/src/gui/Pages/Chat/RoomPane/SettingsView.qml +++ b/src/gui/Pages/Chat/RoomPane/SettingsView.qml @@ -85,7 +85,7 @@ HFlickableColumnPage { HRoomAvatar { id: avatar roomId: chat.roomId - displayName: chat.roomInfo.display_name + displayName: nameField.item.text || chat.roomInfo.display_name mxc: chat.roomInfo.avatar_url // enabled: chat.roomInfo.can_set_avatar # put this in "change avatar"