fix(Onboarding): Recover from seed - Fetching data screen layout
Fixes #10939
This commit is contained in:
parent
78b4fee587
commit
e36ace38b2
|
@ -21,6 +21,9 @@ Item {
|
||||||
id: d
|
id: d
|
||||||
|
|
||||||
property int counter: Constants.onboarding.profileFetching.timeout
|
property int counter: Constants.onboarding.profileFetching.timeout
|
||||||
|
|
||||||
|
readonly property string fetchingDataText: qsTr("Fetching data...")
|
||||||
|
readonly property string continueText: qsTr("Continue")
|
||||||
}
|
}
|
||||||
|
|
||||||
onStateChanged: {
|
onStateChanged: {
|
||||||
|
@ -31,7 +34,6 @@ Item {
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
height: Constants.onboarding.loginHeight
|
|
||||||
spacing: Style.current.bigPadding
|
spacing: Style.current.bigPadding
|
||||||
|
|
||||||
ProfileFetchingAnimation {
|
ProfileFetchingAnimation {
|
||||||
|
@ -177,7 +179,7 @@ Item {
|
||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetching
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetching
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
text: qsTr("Fetching data...")
|
text: d.fetchingDataText
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: button
|
target: button
|
||||||
|
@ -197,11 +199,11 @@ Item {
|
||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetchingTimeout
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetchingTimeout
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
text: qsTr("Fetching data...")
|
text: d.fetchingDataText
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: button
|
target: button
|
||||||
text: qsTr("Continue")
|
text: d.continueText
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
State {
|
State {
|
||||||
|
@ -209,11 +211,11 @@ Item {
|
||||||
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetchingSuccess
|
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetchingSuccess
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: title
|
target: title
|
||||||
text: qsTr("Fetching data...")
|
text: d.fetchingDataText
|
||||||
}
|
}
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: button
|
target: button
|
||||||
text: qsTr("Continue")
|
text: d.continueText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue