Skip to content

Commit

Permalink
Added functionality to button
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Feb 11, 2024
1 parent f6d75cd commit 98b2ad9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/presentation/homePage/MHomePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -636,13 +636,16 @@ Page {
visible: false
title: qsTr("Limit Reached")
message: qsTr("You have reached your upload limit.\nDelete unused books to free up space or upgrade.")
leftButtonText: qsTr("Ok")
rightButtonText: qsTr("Upgrade")
leftButtonText: qsTr("Upgrade")
rightButtonText: qsTr("Cancel")
messageBottomSpacing: 16
minButtonWidth: 180
onOpenedChanged: if (opened)
uploadLimitReachedPopup.giveFocus()
onDecisionMade: close()

onLeftButtonClicked: Qt.openUrlExternally(
AppInfoController.website + "/pricing")
}

MWarningPopup {
Expand Down

0 comments on commit 98b2ad9

Please sign in to comment.