fix: comments were kinda ass
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user