fix(Onboarding): Recover from seed - Fetching data screen layout

Fixes #10939
This commit is contained in:
Noelia 2023-10-09 15:24:15 +02:00 committed by Noelia
parent 78b4fee587
commit e36ace38b2
1 changed files with 8 additions and 6 deletions

View File

@ -21,6 +21,9 @@ Item {
id: d
property int counter: Constants.onboarding.profileFetching.timeout
readonly property string fetchingDataText: qsTr("Fetching data...")
readonly property string continueText: qsTr("Continue")
}
onStateChanged: {
@ -31,7 +34,6 @@ Item {
ColumnLayout {
anchors.centerIn: parent
height: Constants.onboarding.loginHeight
spacing: Style.current.bigPadding
ProfileFetchingAnimation {
@ -177,7 +179,7 @@ Item {
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetching
PropertyChanges {
target: title
text: qsTr("Fetching data...")
text: d.fetchingDataText
}
PropertyChanges {
target: button
@ -197,11 +199,11 @@ Item {
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetchingTimeout
PropertyChanges {
target: title
text: qsTr("Fetching data...")
text: d.fetchingDataText
}
PropertyChanges {
target: button
text: qsTr("Continue")
text: d.continueText
}
},
State {
@ -209,11 +211,11 @@ Item {
when: root.startupStore.currentStartupState.stateType === Constants.startupState.profileFetchingSuccess
PropertyChanges {
target: title
text: qsTr("Fetching data...")
text: d.fetchingDataText
}
PropertyChanges {
target: button
text: qsTr("Continue")
text: d.continueText
}
}
]