1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/delegates/Encrypted.qml b/resources/qml/delegates/Encrypted.qml
index 076b5a5e..8c9257a4 100644
--- a/resources/qml/delegates/Encrypted.qml
+++ b/resources/qml/delegates/Encrypted.qml
@@ -15,7 +15,7 @@ Rectangle {
required property string eventId
radius: fontMetrics.lineSpacing / 2 + Nheko.paddingMedium
- width: parent ? parent.width : undefined
+ width: parent.width
height: contents.implicitHeight + Nheko.paddingMedium * 2
color: Nheko.colors.alternateBase
@@ -57,7 +57,7 @@ Rectangle {
}
}
color: Nheko.colors.text
- width: parent ? parent.width : undefined
+ width: parent.width
}
Button {
|