diff --git a/app/qml/ProjectPanel.qml b/app/qml/ProjectPanel.qml index a15cf5a1c..0b4caa47e 100644 --- a/app/qml/ProjectPanel.qml +++ b/app/qml/ProjectPanel.qml @@ -933,6 +933,8 @@ Item { onBack: stackView.popOnePageOrClose() + onManagePlansClicked: manageSubscriptionPlans() + onSignOutClicked: { __merginApi.signOut() stackView.pop( null ) diff --git a/app/qml/WorkspaceAccountPage.qml b/app/qml/WorkspaceAccountPage.qml index 716697ed4..999b9a010 100644 --- a/app/qml/WorkspaceAccountPage.qml +++ b/app/qml/WorkspaceAccountPage.qml @@ -21,6 +21,7 @@ Page { signal back signal signOutClicked + signal managePlansClicked signal accountDeleted signal switchWorkspace @@ -204,6 +205,16 @@ Page { text: qsTr("Your subscription was cancelled on %1").arg(root.subscriptionsTimestamp) } + MMComponents.DelegateButton { + Layout.fillWidth: true + btnWidth: width + + height: InputStyle.rowHeightMedium + + text: qsTr("Manage account") + onClicked: root.managePlansClicked() + } + Text { Layout.fillWidth: true Layout.preferredHeight: InputStyle.rowHeightHeader