fix updater for PlayStore version

This commit is contained in:
Christian Schneppe 2020-12-11 16:02:26 +01:00
parent 70a1493050
commit 3d96292c41
No known key found for this signature in database
GPG key ID: F30B8D686B44D87E

View file

@ -178,7 +178,7 @@ public class UpdateService extends AsyncTask<String, Object, UpdateService.Wrapp
String[] remoteV = null;
String[] installedV = null;
try {
installedV = installedVersion.split(" ");
installedV = installedVersion.split("[ |\\-]");
Log.d(Config.LOGTAG, "AppUpdater: Version installed: " + installedV[0]);
installed = installedV[0].split("\\.");
} catch (Exception e) {