diff --git a/packages/neon/neon_files/lib/widgets/file_preview.dart b/packages/neon/neon_files/lib/widgets/file_preview.dart index 33fbda24563..f0fcc2e553c 100644 --- a/packages/neon/neon_files/lib/widgets/file_preview.dart +++ b/packages/neon/neon_files/lib/widgets/file_preview.dart @@ -100,7 +100,7 @@ class FilePreviewImage extends NeonCachedImage { required final int width, required final int height, }) : super.custom( - getImage: () async => account.client.core.getPreview( + getImage: () async => account.client.core.preview.getPreview( file: path, x: width, y: height,