mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +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 {
|
||||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue