diff --git a/lib/worker/update.dart b/lib/worker/update.dart index a9c5f7e..e1fdc8e 100644 --- a/lib/worker/update.dart +++ b/lib/worker/update.dart @@ -23,6 +23,10 @@ String? currentVersion; String? updateChangeLog; Future updatesSupported(Function setState, [bool takeAction = false]) async { + var tmp = (await PackageInfo.fromPlatform()).version; + setState(() { + currentVersion = tmp; + }); bool returnValue = true; var installerApps = [ "org.fdroid.fdroid",