We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e5bbdc + a2860ff commit ff72cfaCopy full SHA for ff72cfa
1 file changed
app/src/main/java/at/tomtasche/reader/nonfree/BillingManager.java
@@ -16,18 +16,17 @@ public class BillingManager {
16
public void initialize(Context context, AnalyticsManager analyticsManager, AdManager adManager) {
17
this.adManager = adManager;
18
19
- if (!enabled) {
20
- adManager.showGoogleAds();
21
-
22
- return;
23
- }
24
25
billingPreferences = new BillingPreferences(context);
26
27
if (BuildConfig.FLAVOR.equals("pro")) {
28
billingPreferences.setPurchased(true);
29
}
30
+ if (!enabled) {
+ adManager.showGoogleAds();
+ return;
+ }
+
31
enforceAds();
32
33
0 commit comments