Fixed version display in settings not updating
This commit is contained in:
parent
f5a32a014a
commit
fa3fb953e2
|
@ -23,6 +23,10 @@ String? currentVersion;
|
||||||
String? updateChangeLog;
|
String? updateChangeLog;
|
||||||
Future<bool> updatesSupported(Function setState,
|
Future<bool> updatesSupported(Function setState,
|
||||||
[bool takeAction = false]) async {
|
[bool takeAction = false]) async {
|
||||||
|
var tmp = (await PackageInfo.fromPlatform()).version;
|
||||||
|
setState(() {
|
||||||
|
currentVersion = tmp;
|
||||||
|
});
|
||||||
bool returnValue = true;
|
bool returnValue = true;
|
||||||
var installerApps = [
|
var installerApps = [
|
||||||
"org.fdroid.fdroid",
|
"org.fdroid.fdroid",
|
||||||
|
|
Loading…
Reference in New Issue