summary refs log tree commit diff
path: root/resources/qml/TopBar.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-05-13 11:32:20 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-05-13 11:32:28 +0200
commit5658be52154e6a03aece3149aed6324f2ae221bc (patch)
tree98cb24f96e419f51f8f0039a4938610e4546008e /resources/qml/TopBar.qml
parentFix missing import for colors (diff)
downloadnheko-5658be52154e6a03aece3149aed6324f2ae221bc.tar.xz
Move global avatarSize property
Diffstat (limited to 'resources/qml/TopBar.qml')
-rw-r--r--resources/qml/TopBar.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml
index 4de126b6..d5bcb3a8 100644
--- a/resources/qml/TopBar.qml
+++ b/resources/qml/TopBar.qml
@@ -43,8 +43,8 @@ Rectangle {
             Layout.row: 0
             Layout.rowSpan: 2
             Layout.alignment: Qt.AlignVCenter
-            width: avatarSize
-            height: avatarSize
+            width: Nheko.avatarSize
+            height: Nheko.avatarSize
             visible: TimelineManager.isNarrowView
             image: ":/icons/icons/ui/angle-pointing-to-left.png"
             ToolTip.visible: hovered
@@ -57,8 +57,8 @@ Rectangle {
             Layout.row: 0
             Layout.rowSpan: 2
             Layout.alignment: Qt.AlignVCenter
-            width: avatarSize
-            height: avatarSize
+            width: Nheko.avatarSize
+            height: Nheko.avatarSize
             url: room ? room.roomAvatarUrl.replace("mxc://", "image://MxcImage/") : ""
             displayName: room ? room.roomName : qsTr("No room selected")
             onClicked: TimelineManager.timeline.openRoomSettings()