Skip to content

Commit

Permalink
Fixed version display in settings not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
JHubi1 committed Jun 8, 2024
1 parent f5a32a0 commit fa3fb95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/worker/update.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fa3fb95

Please sign in to comment.