diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-02 01:29:05 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-08 22:32:07 +0200 |
commit | 54e2295c214874a316d22eaedaf5c2db17b59df0 (patch) | |
tree | 2c88e09be38e2758dfcd3fe6732da484f99d94c5 /resources/qml/delegates/Encrypted.qml | |
parent | First runnable qt6 Nheko (diff) | |
download | nheko-54e2295c214874a316d22eaedaf5c2db17b59df0.tar.xz |
Fix palette access and QMediaPlayer errors
Diffstat (limited to 'resources/qml/delegates/Encrypted.qml')
-rw-r--r-- | resources/qml/delegates/Encrypted.qml | 5 |
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) |