mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user