checkForUpdate static method

Future<void> checkForUpdate()

Implementation

static Future<void> checkForUpdate() async {
  try {
    final latestVersion = await _getLatestVersion();
    if (latestVersion != null && _isUpdateAvailable(latestVersion)) {
      _showUpdateMessage(latestVersion);
    }
  } catch (e) {
    // Silently fail if update check fails to avoid interrupting workflow
  }
}