Adds the ability to show avatars in the sidebar independently of whether they are shown in the chat area.

Fix #408
This commit is contained in:
Milo Kerr
2021-08-11 20:33:56 +00:00
committed by Carl Schwan
parent e91a4f79a5
commit e064243d66
3 changed files with 20 additions and 6 deletions

View File

@@ -198,7 +198,7 @@ Kirigami.OverlayDrawer {
Kirigami.Avatar {
Layout.preferredWidth: Kirigami.Units.gridUnit + Kirigami.Units.smallSpacing * 2.5
Layout.preferredHeight: Kirigami.Units.gridUnit + Kirigami.Units.smallSpacing * 2.5
visible: Config.showAvatarInTimeline
visible: Config.showAvatarInRoomDrawer
sourceSize.height: Kirigami.Units.gridUnit + Kirigami.Units.smallSpacing * 2.5
sourceSize.width: Kirigami.Units.gridUnit + Kirigami.Units.smallSpacing * 2.5
source: avatar ? ("image://mxc/" + avatar) : ""