Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions CropperImage.MAUI/CropperImageView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,13 +394,7 @@ public CropperImageView()
/// </summary>
/// <param name="CropRect">Indicates if you want a cropped square image as cropped result</param>
/// <returns></returns>
public Task CropImageAsync(bool CropRect = false)
{
return Task.Run(async () =>
{
var result = await CropImage(CropRect);
});
}
public Task CropImageAsync(bool CropRect = false) => CropImage(CropRect);

/// <summary>
/// Execute the image crop async. Refresh CroppedImage and CroppedImageBytes properties at ends.
Expand Down