From e36ace38b2383059c702d852a5dc63fd6ab5c7f7 Mon Sep 17 00:00:00 2001 From: Noelia Date: Mon, 9 Oct 2023 15:24:15 +0200 Subject: [PATCH] fix(Onboarding): Recover from seed - Fetching data screen layout Fixes #10939 --- .../Onboarding/views/ProfileFetchingView.qml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/app/AppLayouts/Onboarding/views/ProfileFetchingView.qml b/ui/app/AppLayouts/Onboarding/views/ProfileFetchingView.qml index 56e9ad78ad..e08f0e450d 100644 --- a/ui/app/AppLayouts/Onboarding/views/ProfileFetchingView.qml +++ b/ui/app/AppLayouts/Onboarding/views/ProfileFetchingView.qml @@ -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 } } ]