fix: comments were kinda ass

This commit is contained in:
2026-09-16 22:33:14 +02:00
parent f6d7c21691
commit 33d9ae11d8
9 changed files with 33 additions and 49 deletions
-2
View File
@@ -54,14 +54,12 @@ class AppUpdateUtil {
AppUpdateUtil({required this.serverUrl});
/// Gets the installed app version
Future<String> currentVersion() async {
final info = await PackageInfo.fromPlatform();
debugPrint("Current app version: ${info.version}");
return info.version;
}
/// Checks the update server
Future<UpdateInfo?> checkForUpdate() async {
final version = await currentVersion();