diff --git a/mobile/lib/infrastructure/repositories/asset_media.repository.dart b/mobile/lib/infrastructure/repositories/asset_media.repository.dart index 11a0d5e0cb..dd8cc244c8 100644 --- a/mobile/lib/infrastructure/repositories/asset_media.repository.dart +++ b/mobile/lib/infrastructure/repositories/asset_media.repository.dart @@ -11,11 +11,7 @@ class AssetMediaRepository { const AssetMediaRepository(); Future 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.fromAddress(info['pointer']!); final actualWidth = info['width']!; diff --git a/mobile/lib/presentation/widgets/images/image_provider.dart b/mobile/lib/presentation/widgets/images/image_provider.dart index c1624489cc..b3c0685599 100644 --- a/mobile/lib/presentation/widgets/images/image_provider.dart +++ b/mobile/lib/presentation/widgets/images/image_provider.dart @@ -27,11 +27,7 @@ ImageProvider getFullImageProvider(BaseAsset asset, {Size size = const Size(1080 return provider; } -ImageProvider getThumbnailImageProvider({ - BaseAsset? asset, - String? remoteId, - Size size = kTimelineThumbnailSize, -}) { +ImageProvider getThumbnailImageProvider({BaseAsset? asset, String? remoteId, Size size = kTimelineThumbnailSize}) { assert(asset != null || remoteId != null, 'Either asset or remoteId must be provided'); if (remoteId != null) {