summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 21:39:55 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 21:39:55 +0800
commit0c807f353e7459888803562953afda327c840f63 (patch)
tree110568e14a42bc74bd6f42b1b212b7202c06d21f
parent761592b88add162cf6296102f9dbf22cd41f3152 (diff)
Shorten course detail classic property names
-rw-r--r--Course/Detail/Classic.ui.qml17
1 files changed, 8 insertions, 9 deletions
diff --git a/Course/Detail/Classic.ui.qml b/Course/Detail/Classic.ui.qml
index d755076..d598089 100644
--- a/Course/Detail/Classic.ui.qml
+++ b/Course/Detail/Classic.ui.qml
@@ -11,13 +11,13 @@ Flickable {
property alias introTitleParagraph: introTitleParagraph
property alias tabs: tabs
property alias courseDescription: courseDescription
- property alias detailImage: image
- property alias detailPrice: price
- property alias detailOriginalPrice: originalPrice
- property alias detailDiscount: discount
- property alias detailTime: time
- property alias detailTrial: trial
- property alias detailBuy: buy
+ property alias image: image
+ property string priceText: "$150"
+ property alias originalPrice: originalPrice
+ property alias discount: discount
+ property alias time: time
+ property alias trial: trial
+ property alias buy: buy
property bool doesntEmbed: Qt.platform.os === "android"
|| Qt.platform.os === "linux"
|| Qt.platform.os === "osx"
@@ -300,8 +300,7 @@ Flickable {
RowLayout {
Label {
- id: price
- text: "$150"
+ text: priceText
font {
family: heebo.name
pointSize: 23