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
+1 -1
View File
@@ -1,2 +1,2 @@
const kUpdateServerUrl = 'https://updater.brammie15.dev';
const kExportServerUrl = 'https://your-server.com/api/backup';
const kExportServerUrl = 'https://kooltab.brammie15.dev/api/backup';
-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();