mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
parent
49d5cd36df
commit
9b2d36b78a
1 changed files with 1 additions and 9 deletions
|
|
@ -141,15 +141,7 @@ namespace Flow.Launcher.Infrastructure.Image
|
|||
}
|
||||
catch
|
||||
{
|
||||
try
|
||||
{
|
||||
hBitmap = GetHBitmap(Path.GetFullPath(fileName), width, height, options);
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
// Handle other exceptions
|
||||
throw new InvalidOperationException("Failed to get thumbnail", ex);
|
||||
}
|
||||
hBitmap = GetHBitmap(Path.GetFullPath(fileName), width, height, options);
|
||||
}
|
||||
|
||||
return hBitmap;
|
||||
|
|
|
|||
Loading…
Reference in a new issue