From 455e5cf9fb8974fcd538047dfce9e7725bd9913b Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sat, 15 Jul 2023 17:29:27 +0200 Subject: [PATCH] feat(neon_files): Adjust to generated specs --- packages/neon/neon_files/lib/widgets/file_preview.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,