formatting

This commit is contained in:
mertalev 2025-08-01 19:55:14 -04:00
parent b7df60762c
commit 58ed5c9258
No known key found for this signature in database
GPG Key ID: DF6ABC77AAD98C95

View File

@ -11,11 +11,7 @@ class AssetMediaRepository {
const AssetMediaRepository();
Future<ui.Codec> getLocalThumbnail(String localId, ui.Size size) async {
final info = await thumbnailApi.getThumbnailBuffer(
localId,
width: size.width.toInt(),
height: size.height.toInt(),
);
final info = await thumbnailApi.getThumbnailBuffer(localId, width: size.width.toInt(), height: size.height.toInt());
final pointer = Pointer<Uint8>.fromAddress(info['pointer']!);
final actualWidth = info['width']!;