Add decryption keys import in account settings

This commit is contained in:
miruka
2019-07-25 02:43:52 -04:00
parent 93a6867735
commit 858c9f337d
12 changed files with 236 additions and 36 deletions

View File

@@ -24,21 +24,32 @@ HPage {
Utils.coloredNameHtml(headerName, userId)
)
HRectangle {
color: ready ? theme.controls.box.background : "transparent"
Behavior on color { HColorAnimation {} }
HSpacer {}
Layout.alignment: Qt.AlignCenter
Repeater {
model: ["Profile.qml", "Encryption.qml"]
Layout.maximumWidth: Math.min(parent.width, 640)
Layout.preferredWidth:
pageStack.isWide ? parent.width : avatarPreferredSize
HRectangle {
color: ready ? theme.controls.box.background : "transparent"
Behavior on color { HColorAnimation {} }
Layout.preferredHeight: childrenRect.height
Layout.alignment: Qt.AlignCenter
Loader {
width: parent.width
source: ready ? "Profile.qml" : "../../Base/HBusyIndicator.qml"
Layout.maximumWidth: Math.min(parent.width, 640)
Layout.preferredWidth:
pageStack.isWide ? parent.width : avatarPreferredSize
Layout.preferredHeight: childrenRect.height
Loader {
width: parent.width
source: ready ?
modelData :
(modelData == "Profile.qml" ?
"../../Base/HBusyIndicator.qml" : "")
}
}
}
HSpacer {}
}