diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index 2b47935ab..73f7158d6 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -67,7 +67,7 @@
Search with Pinyin
Allows using Pinyin to search. Pinyin is the standard system of romanized spelling for translating Chinese.
Always open preview when start search
- If uncheck, preview not showing when start launch. Please use F2 key
+ If uncheck, preview not showing when start launch. Please use F1 key
Shadow effect is not allowed while current theme has blur effect enabled
diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs
index 623b4f3c7..4db2ade69 100644
--- a/Flow.Launcher/MainWindow.xaml.cs
+++ b/Flow.Launcher/MainWindow.xaml.cs
@@ -619,7 +619,7 @@ namespace Flow.Launcher
}
}
break;
- case Key.F2:
+ case Key.F1:
PreviewToggle();
e.Handled = true;
break;
diff --git a/Flow.Launcher/ViewModel/ResultViewModel.cs b/Flow.Launcher/ViewModel/ResultViewModel.cs
index 37b838251..25a48204d 100644
--- a/Flow.Launcher/ViewModel/ResultViewModel.cs
+++ b/Flow.Launcher/ViewModel/ResultViewModel.cs
@@ -202,8 +202,10 @@ namespace Flow.Launcher.ViewModel
private async ValueTask LoadPreviewImageAsync()
{
var imagePath = Result.PreviewImage ?? Result.IcoPath;
+ var loadFullImage = (Path.GetExtension(imagePath) ?? "").Equals(".url", StringComparison.OrdinalIgnoreCase);
// We need to modify the property not field here to trigger the OnPropertyChanged event
- PreviewImage = await Task.Run(() => ImageLoader.Load(imagePath, true)).ConfigureAwait(false);
+ //PreviewImage = await Task.Run(() => ImageLoader.Load(imagePath, true)).ConfigureAwait(false);
+ PreviewImage = await ImageLoader.LoadAsync(imagePath, loadFullImage).ConfigureAwait(false);
}
public Result Result { get; }