Fixed version display in settings not updating

This commit is contained in:
JHubi1 2024-06-08 22:51:22 +02:00
parent f5a32a014a
commit fa3fb953e2
No known key found for this signature in database
GPG Key ID: 7BF82570CBBBD050
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ String? currentVersion;
String? updateChangeLog;
Future<bool> updatesSupported(Function setState,
[bool takeAction = false]) async {
var tmp = (await PackageInfo.fromPlatform()).version;
setState(() {
currentVersion = tmp;
});
bool returnValue = true;
var installerApps = [
"org.fdroid.fdroid",