fix warning

This commit is contained in:
shenlong-tanwen
2025-09-08 10:03:43 +05:30
parent 8face037da
commit abb5df8bab
86 changed files with 408 additions and 307 deletions
@@ -104,7 +104,7 @@ class BackgroundWorkerBgService extends BackgroundWorkerFlutterApi {
await _backgroundHostApi.close();
} catch (error, stack) {
_logger.severe("Failed to initialize background worker", error, stack);
_backgroundHostApi.close();
await _backgroundHostApi.close();
}
}
@@ -254,7 +254,7 @@ class LocalSyncService {
if (assetsToUpsert.isEmpty && assetsToDelete.isEmpty) {
_log.fine("No asset changes detected in album ${deviceAlbum.name}. Updating metadata.");
_localAlbumRepository.upsert(updatedDeviceAlbum);
await _localAlbumRepository.upsert(updatedDeviceAlbum);
return true;
}