Import/export keys improvements
This commit is contained in:
@@ -30,7 +30,7 @@ HPage {
|
||||
|
||||
Repeater {
|
||||
id: repeater
|
||||
model: ["Profile.qml", "Encryption.qml"]
|
||||
model: ["Profile.qml", "ImportExportKeys.qml"]
|
||||
|
||||
Rectangle {
|
||||
color: ready ? theme.controls.box.background : "transparent"
|
||||
|
@@ -1,23 +0,0 @@
|
||||
import QtQuick 2.12
|
||||
import "../../Base"
|
||||
|
||||
HLoader {
|
||||
id: encryptionUI
|
||||
source:
|
||||
accountInfo.import_error[0] ? "ImportError.qml" :
|
||||
accountInfo.total_keys_to_import ? "ImportingKeys.qml" :
|
||||
"ImportExportKeys.qml"
|
||||
|
||||
onSourceChanged: animation.running = true
|
||||
|
||||
|
||||
SequentialAnimation {
|
||||
id: animation
|
||||
HNumberAnimation {
|
||||
target: encryptionUI; property: "scale"; to: 0;
|
||||
}
|
||||
HNumberAnimation {
|
||||
target: encryptionUI; property: "scale"; to: 1; overshoot: 3;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user