From 71e71d3e96b8f10dca7198e0ed874f82425f7fd4 Mon Sep 17 00:00:00 2001 From: JHubi1 Date: Tue, 18 Jun 2024 17:20:12 +0200 Subject: [PATCH] Disabled debug --- lib/worker/update.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/worker/update.dart b/lib/worker/update.dart index 7bde6f7..6321c23 100644 --- a/lib/worker/update.dart +++ b/lib/worker/update.dart @@ -43,10 +43,10 @@ Future updatesSupported(Function setState, (installerApps .contains((await InstallReferrer.app).packageName ?? ""))) { returnValue = false; - if (await InstallReferrer.referrer == - InstallationAppReferrer.androidDebug) { - returnValue = true; - } + // if (await InstallReferrer.referrer == + // InstallationAppReferrer.androidDebug) { + // returnValue = true; + // } } if (!repoUrl.startsWith("https://github.com")) { returnValue = false; @@ -80,7 +80,7 @@ void checkUpdate(Function setState) async { var repo = repoUrl.split("/"); currentVersion = (await PackageInfo.fromPlatform()).version; - currentVersion = "1.0.0"; + // currentVersion = "1.0.0"; String? version; try {