seePreReleaseUpdates #1

This commit is contained in:
2022-11-14 22:59:17 +01:00
parent f0b5b2e65b
commit 8114035cd9
6 changed files with 38 additions and 18 deletions

View File

@@ -61,6 +61,7 @@ public class T2CupdateAPI {
String value;
if (webData.isPreRelease()) {
if (!SelectLibConfig.getSeePreReleaseUpdates()) return;
value = UpdateType.PRERELEASE.text;
if (publicVersion.toLowerCase().contains("dev")) {
value = UpdateType.DEVELOPMENT.text;