update: encryption/decryption logic, backup encryption on save and decryption on restore

This commit is contained in:
MrMirDan
2025-12-18 12:25:55 +02:00
parent ad5d60f915
commit 6ebb942466
12 changed files with 308 additions and 215 deletions
@@ -162,11 +162,11 @@ PageType {
property string title: root.isChangingPassword ? qsTr("New password") : qsTr("Set encryption password")
readonly property string placeholderContent: ""
property string imageSource: "qrc:/images/controls/eye-new.svg"
property string imageSource: "qrc:/images/controls/eye.svg"
property bool hideContent: true
readonly property var clickedHandler: function() {
hideContent = !hideContent
imageSource = hideContent ? "qrc:/images/controls/eye-new.svg" : "qrc:/images/controls/eye-off-new.svg"
imageSource = hideContent ? "qrc:/images/controls/eye.svg" : "qrc:/images/controls/eye-off.svg"
}
}