mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-26 17:54:31 +00:00
fix feedback
This commit is contained in:
parent
886d74bcfd
commit
658b5a5cde
@ -182,8 +182,10 @@ Item {
|
||||
popUp.open()
|
||||
|
||||
const action = function () {
|
||||
showAdMobBanner()
|
||||
stateData.unlockNextLvl();
|
||||
start(stateData.lvl)
|
||||
|
||||
}
|
||||
|
||||
popUp.action = action;
|
||||
@ -202,13 +204,13 @@ Item {
|
||||
popUp.open()
|
||||
|
||||
const action = function () {
|
||||
showAdMobBanner()
|
||||
start(++stateWidget.tumbler.spin.value)
|
||||
|
||||
}
|
||||
|
||||
popUp.action = action;
|
||||
}
|
||||
showAdMobBanner()
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,12 +1,66 @@
|
||||
import QtQuick 2.15
|
||||
import QtAndroidTools 1.0
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
|
||||
QtAndroidAdMobInterstitial {
|
||||
id: interstitial
|
||||
|
||||
unitId: "ca-app-pub-5799112356811682/5211864198"
|
||||
nonPersonalizedAds: false
|
||||
onLoading: {
|
||||
loadDialog.open();
|
||||
}
|
||||
|
||||
onLoaded: {
|
||||
show()
|
||||
loadDialog.close();
|
||||
}
|
||||
|
||||
onLoadError: {
|
||||
loadDialog.close();
|
||||
}
|
||||
|
||||
|
||||
Dialog {
|
||||
id: loadDialog
|
||||
x: (gameWindow.width - width) / 2
|
||||
y: (gameWindow.height - height) / 2
|
||||
|
||||
width: gameWindow.width * 0.9
|
||||
height: gameWindow.height * 0.9
|
||||
|
||||
header: Label {
|
||||
id: title
|
||||
text: qsTr("Load ads")
|
||||
font.capitalization: Font.AllUppercase
|
||||
font.bold: true
|
||||
|
||||
horizontalAlignment: Qt.AlignHCenter
|
||||
verticalAlignment: Qt.AlignTop
|
||||
}
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
BusyIndicator {
|
||||
Layout.fillWidth: true
|
||||
running: true
|
||||
}
|
||||
|
||||
Label {
|
||||
id: textContainer
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
anchors.fill: parent
|
||||
text: qsTr("Sorry, but we need to show you an ad. We want to eat too 😇");
|
||||
|
||||
horizontalAlignment: Qt.AlignLeft
|
||||
verticalAlignment: Qt.AlignTop
|
||||
}
|
||||
}
|
||||
|
||||
closePolicy: Popup.NoAutoClose
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -33,6 +33,17 @@
|
||||
* Copyright (C) 2019-2021 QuasarApp-Gruppe.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Config</name>
|
||||
<message>
|
||||
|
@ -34,6 +34,17 @@
|
||||
* Copyright (C) 2019-2021 QuasarApp group.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BackEnd</name>
|
||||
<message>
|
||||
|
@ -34,6 +34,17 @@
|
||||
* Copyright (C) 2019-2021 Grupo QuasarApp.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Config</name>
|
||||
<message>
|
||||
|
@ -34,6 +34,17 @@
|
||||
* Copyright (C) 2019-2021 Groupe QuasarApp.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Config</name>
|
||||
<message>
|
||||
|
@ -48,6 +48,17 @@
|
||||
* Copyright(C)2018-2019 Yankovich N. Andrei。 {3 ?} {2018-2019 ?}</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BackEnd</name>
|
||||
<message>
|
||||
|
@ -34,6 +34,17 @@
|
||||
* Prawa autorskie (C) 2019-2021 grupa QuasarApp.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Config</name>
|
||||
<message>
|
||||
|
@ -48,6 +48,17 @@
|
||||
* Copyright (C) 2018-2019 Янкович А. Н.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BackEnd</name>
|
||||
<message>
|
||||
|
@ -48,6 +48,17 @@
|
||||
* Telif Hakkı (C) 2018-2019 Yankovich N. Andrei.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BackEnd</name>
|
||||
<message>
|
||||
|
@ -50,6 +50,17 @@
|
||||
* Авторське право (C) 2018-2019 Янкович Н. Андрій.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BackEnd</name>
|
||||
<message>
|
||||
|
@ -34,6 +34,17 @@
|
||||
* 版权所有 (C) 2019-2021 QuasarApp group 。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdMobInterstitialAndroid</name>
|
||||
<message>
|
||||
<source>Load ads</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sorry, but we need to show you an ad. We want to eat too 😇</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Config</name>
|
||||
<message>
|
||||
|
Loading…
x
Reference in New Issue
Block a user