summaryrefslogtreecommitdiffstats
path: root/resources/qml/delegates/Encrypted.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/delegates/Encrypted.qml')
-rw-r--r--resources/qml/delegates/Encrypted.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/delegates/Encrypted.qml b/resources/qml/delegates/Encrypted.qml
index 74e1cb0d..fdfe958e 100644
--- a/resources/qml/delegates/Encrypted.qml
+++ b/resources/qml/delegates/Encrypted.qml
@@ -18,7 +18,7 @@ Rectangle {
width: parent.width? parent.width : 0
implicitWidth: encryptedText.implicitWidth+24+Nheko.paddingMedium*3 // Column doesn't provide a useful implicitWidth, should be replaced by ColumnLayout
height: contents.implicitHeight + Nheko.paddingMedium * 2
- color: Nheko.colors.alternateBase
+ color: palette.alternateBase
RowLayout {
id: contents
@@ -58,12 +58,11 @@ Rectangle {
return qsTr("Unknown decryption error");
}
}
- color: Nheko.colors.text
+ color: palette.text
width: parent.width
}
Button {
- palette: Nheko.colors
visible: encryptionError == Olm.MissingSession || encryptionError == Olm.MissingSessionIndex
text: qsTr("Request key")
onClicked: room.requestKeyForEvent(eventId)