Disabled debug

This commit is contained in:
JHubi1 2024-06-18 17:20:12 +02:00
parent 5db1288228
commit 71e71d3e96
No known key found for this signature in database
GPG Key ID: 7BF82570CBBBD050
1 changed files with 5 additions and 5 deletions

View File

@ -43,10 +43,10 @@ Future<bool> updatesSupported(Function setState,
(installerApps (installerApps
.contains((await InstallReferrer.app).packageName ?? ""))) { .contains((await InstallReferrer.app).packageName ?? ""))) {
returnValue = false; returnValue = false;
if (await InstallReferrer.referrer == // if (await InstallReferrer.referrer ==
InstallationAppReferrer.androidDebug) { // InstallationAppReferrer.androidDebug) {
returnValue = true; // returnValue = true;
} // }
} }
if (!repoUrl.startsWith("https://github.com")) { if (!repoUrl.startsWith("https://github.com")) {
returnValue = false; returnValue = false;
@ -80,7 +80,7 @@ void checkUpdate(Function setState) async {
var repo = repoUrl.split("/"); var repo = repoUrl.split("/");
currentVersion = (await PackageInfo.fromPlatform()).version; currentVersion = (await PackageInfo.fromPlatform()).version;
currentVersion = "1.0.0"; // currentVersion = "1.0.0";
String? version; String? version;
try { try {