mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix qml warnings and missing icons
This commit is contained in:
parent
c40fbf420a
commit
9c1c3eb10d
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: roomSettings
|
target: roomSettings
|
||||||
onDisplayError: {
|
function onDisplayError(errorMessage) {
|
||||||
errorText.text = errorMessage;
|
errorText.text = errorMessage;
|
||||||
errorText.opacity = 1;
|
errorText.opacity = 1;
|
||||||
hideErrorAnimation.restart();
|
hideErrorAnimation.restart();
|
||||||
|
@ -229,7 +229,7 @@ ApplicationWindow {
|
||||||
title: qsTr("End-to-End Encryption")
|
title: qsTr("End-to-End Encryption")
|
||||||
text: qsTr("Encryption is currently experimental and things might break unexpectedly. <br>
|
text: qsTr("Encryption is currently experimental and things might break unexpectedly. <br>
|
||||||
Please take note that it can't be disabled afterwards.")
|
Please take note that it can't be disabled afterwards.")
|
||||||
modality: Qt.Modal
|
modality: Qt.NonModal
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
if (roomSettings.isEncryptionEnabled)
|
if (roomSettings.isEncryptionEnabled)
|
||||||
return ;
|
return ;
|
||||||
|
|
|
@ -314,9 +314,9 @@ ApplicationWindow {
|
||||||
case VerificationStatus.UNVERIFIED:
|
case VerificationStatus.UNVERIFIED:
|
||||||
return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?#d6c020";
|
return "image://colorimage/:/icons/icons/ui/shield-filled-exclamation-mark.svg?#d6c020";
|
||||||
case VerificationStatus.SELF:
|
case VerificationStatus.SELF:
|
||||||
return "image://colorimage/:/icons/ui/checkmark.svg?green";
|
return "image://colorimage/:/icons/icons/ui/checkmark.svg?green";
|
||||||
default:
|
default:
|
||||||
return "image://colorimage/:/icons/ui/shield-filled-cross.svg?#d6c020";
|
return "image://colorimage/:/icons/icons/ui/shield-filled-cross.svg?#d6c020";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue