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 } } ]