mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
68a4498d11
Fixes #4900
41 lines
1.0 KiB
QML
41 lines
1.0 KiB
QML
import QtQuick 2.13
|
|
import utils 1.0
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var privacyModule
|
|
|
|
// Module Properties
|
|
property bool mnemonicBackedUp: privacyModule.mnemonicBackedUp
|
|
property int profilePicturesVisibility: privacyModule.profilePicturesVisibility
|
|
|
|
function getLinkPreviewWhitelist() {
|
|
return root.privacyModule.getLinkPreviewWhitelist()
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
function validatePassword(password) {
|
|
return root.privacyModule.validatePassword(password)
|
|
}
|
|
|
|
function setProfilePicturesVisibility(value) {
|
|
return root.privacyModule.setProfilePicturesVisibility(value)
|
|
}
|
|
}
|