1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

InAppPurchases: fix a bug on Android when failed purchases would not be propagated to IAP listeners. Make InAppPurchases a Singleton.

This commit is contained in:
Lukasz Kozakiewicz 2018-02-21 17:28:48 +01:00
parent 4be6679aab
commit 3e66bc69fb
6 changed files with 84 additions and 63 deletions

View file

@ -109,6 +109,7 @@ public:
void updateDisplay()
{
voiceListBox.updateContent();
voiceListBox.setEnabled (! getInstance()->getPurchases().isPurchaseInProgress());
voiceListBox.repaint();
}