2021-12-30 12:39:47 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var privacyModule
|
|
|
|
|
|
|
|
// Module Properties
|
|
|
|
property bool mnemonicBackedUp: privacyModule.mnemonicBackedUp
|
|
|
|
|
|
|
|
function changePassword(password, newPassword) {
|
|
|
|
root.privacyModule.changePassword(password, newPassword)
|
|
|
|
}
|
|
|
|
|
|
|
|
function getMnemonic() {
|
|
|
|
return root.privacyModule.getMnemonic()
|
|
|
|
}
|
|
|
|
|
|
|
|
function removeMnemonic() {
|
|
|
|
root.privacyModule.removeMnemonic()
|
|
|
|
}
|
|
|
|
|
|
|
|
function getMnemonicWordAtIndex(index) {
|
|
|
|
return root.privacyModule.getMnemonicWordAtIndex(index)
|
|
|
|
}
|
2022-02-24 12:18:21 +00:00
|
|
|
|
|
|
|
function validatePassword(password) {
|
|
|
|
return root.privacyModule.validatePassword(password)
|
|
|
|
}
|
2022-04-11 11:39:15 +00:00
|
|
|
|
2023-02-02 13:54:35 +00:00
|
|
|
function tryStoreToKeyChain() {
|
|
|
|
root.privacyModule.tryStoreToKeyChain()
|
|
|
|
}
|
|
|
|
|
|
|
|
function tryRemoveFromKeyChain() {
|
|
|
|
root.privacyModule.tryRemoveFromKeyChain()
|
2022-04-11 11:39:15 +00:00
|
|
|
}
|
2021-12-30 12:39:47 +00:00
|
|
|
}
|