Always check if not in pro mode

A person can install the app and be already in pro mode - for example if
they have cleared their cache. Ideally, we shouldn't be checking each
time on boot and instead just be checking when it expires.

Fixes #110
This commit is contained in:
Vishesh Handa
2020-04-20 00:28:24 +02:00
parent ff2ac647c5
commit f84642207d

View File

@ -6,10 +6,6 @@ import 'package:gitjournal/.env.dart';
class InAppPurchases { class InAppPurchases {
static void confirmProPurchase() async { static void confirmProPurchase() async {
if (!Settings.instance.proMode) {
return;
}
// FIXME: Only check this if pro mode is expired // FIXME: Only check this if pro mode is expired
//Purchases.setDebugLogsEnabled(true); //Purchases.setDebugLogsEnabled(true);