Show user ID as member tile subtitle

Also move member styling in theme to the right place
This commit is contained in:
miruka
2019-08-22 05:42:48 -04:00
parent 6b64800ed7
commit 3082c64666
3 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ HTileDelegate {
id: memberDelegate
spacing: roomSidePane.currentSpacing
rightPadding: 0
backgroundColor: theme.sidePane.member.background
backgroundColor: theme.chat.roomSidePane.member.background
image: HUserAvatar {
userId: model.user_id
@@ -13,6 +13,9 @@ HTileDelegate {
avatarUrl: model.avatar_url
}
title.color: theme.sidePane.member.name
title.text: model.display_name || model.user_id
title.color: theme.chat.roomSidePane.member.name
subtitle.text: model.user_id
subtitle.color: theme.chat.roomSidePane.member.subtitle
}