Skip to content
Snippets Groups Projects
Verified Commit 9c1c3eb1 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix qml warnings and missing icons

parent c40fbf42
No related branches found
No related tags found
No related merge requests found
Pipeline #2087 passed
......@@ -87,7 +87,7 @@ ApplicationWindow {
Connections {
target: roomSettings
onDisplayError: {
function onDisplayError(errorMessage) {
errorText.text = errorMessage;
errorText.opacity = 1;
hideErrorAnimation.restart();
......@@ -229,7 +229,7 @@ ApplicationWindow {
title: qsTr("End-to-End Encryption")
text: qsTr("Encryption is currently experimental and things might break unexpectedly. <br>
Please take note that it can't be disabled afterwards.")
modality: Qt.Modal
modality: Qt.NonModal
onAccepted: {
if (roomSettings.isEncryptionEnabled)
return ;
......
......@@ -314,9 +314,9 @@ ApplicationWindow {
case VerificationStatus.UNVERIFIED:
return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?#d6c020";
case VerificationStatus.SELF:
return "image://colorimage/:/icons/ui/checkmark.svg?green";
return "image://colorimage/:/icons/icons/ui/checkmark.svg?green";
default:
return "image://colorimage/:/icons/ui/shield-filled-cross.svg?#d6c020";
return "image://colorimage/:/icons/icons/ui/shield-filled-cross.svg?#d6c020";
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment