iOS version works!

This commit is contained in:
Roberto Viola
2022-03-30 10:43:19 +02:00
parent f2e95e6584
commit 06bdc67c84
4 changed files with 32 additions and 19 deletions

View File

@@ -27,18 +27,28 @@
"displayPrice" : "1.99",
"familyShareable" : false,
"groupNumber" : 1,
"internalID" : "9BBFA793",
"internalID" : "F108BD35",
"introductoryOffer" : null,
"localizations" : [
{
"description" : "",
"displayName" : "",
"description" : "Swag Bag",
"displayName" : "Swag Bag",
"locale" : "en_US"
},
{
"description" : "Swag Bag",
"displayName" : "Swag Bag",
"locale" : "en_GB"
},
{
"description" : "Swag Bag",
"displayName" : "Swag Bag",
"locale" : "it"
}
],
"productID" : "org.cagnulein.qdomyoszwift.swagbag",
"recurringSubscriptionPeriod" : "P1M",
"referenceName" : "Swag Bag",
"referenceName" : "SwagBag",
"subscriptionGroupID" : "F012E388",
"type" : "RecurringSubscription"
}

View File

@@ -58,13 +58,15 @@ Item {
Text {
id: description
width: parent.width
color: white
text: qsTr("Hi! Do you know that QZ is just an Open Souce Indie App?<br>No Big Companies are running this!<br><br>The \"Swag Bag\" is a way to support the ongoing<br>development, maintenance and support of QZ Fitness!<br><br>Thanks to Rungap App to give me the idea of the name!")
anchors.horizontalCenter: parent.horizontalCenter
color: "white"
text: qsTr("Hi! Do you know that QZ is just an<br>Open Souce Indie App?<br>No Big Companies are running this!<br><br>The \"Swag Bag\" is a way to support the ongoing<br>development, maintenance and support<br>of QZ Fitness!<br><br>Thanks to Rungap App to give me the idea<br>of the name!")
}
Column {
anchors.top: description.bottom
anchors.bottom: restoreButton.top
//anchors.top: description.bottom + 10
anchors.bottom: parent.bottom
//anchors.bottom: restoreButton.top
anchors.right: parent.right
anchors.left: parent.left
@@ -74,7 +76,7 @@ Item {
}
}
Button {
/*Button {
id: restoreButton
anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
@@ -84,7 +86,7 @@ Item {
console.log("restoring...");
iapStore.restorePurchases();
}
}
}*/
Product {
id: productUnlockVowels

View File

@@ -4,6 +4,7 @@ import QtQuick.Controls.Material 2.12
import QtQuick.Dialogs 1.0
import QtGraphicalEffects 1.12
import Qt.labs.settings 1.0
import org.cagnulein.qdomyoszwift 1.0
ApplicationWindow {
id: window
@@ -36,6 +37,10 @@ ApplicationWindow {
property string profile_name: "default"
}
Store {
id: iapStore
}
Popup {
id: popup
parent: Overlay.overlay

View File

@@ -1,14 +1,10 @@
; This file can be edited to change the style of the application
; Read "Qt Quick Controls 2 Configuration File" for details:
; http://doc.qt.io/qt-5/qtquickcontrols2-configuration.html
[Controls]
Style=Material
[Universal]
Theme=System
Accent=Red
[Material]
Theme=Dark
Primary=BlueGrey
Theme=Dark
[Universal]
Accent=Red
Theme=System