diff --git a/CropperImage.MAUI/CropperImageView.xaml.cs b/CropperImage.MAUI/CropperImageView.xaml.cs index d87e5f3..04766fe 100644 --- a/CropperImage.MAUI/CropperImageView.xaml.cs +++ b/CropperImage.MAUI/CropperImageView.xaml.cs @@ -394,13 +394,7 @@ public CropperImageView() /// /// Indicates if you want a cropped square image as cropped result /// - public Task CropImageAsync(bool CropRect = false) - { - return Task.Run(async () => - { - var result = await CropImage(CropRect); - }); - } + public Task CropImageAsync(bool CropRect = false) => CropImage(CropRect); /// /// Execute the image crop async. Refresh CroppedImage and CroppedImageBytes properties at ends.