From c40b0b93a1d9b2c5fe8b37026602218375bcf5ca Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sun, 27 Nov 2022 17:19:39 +0800 Subject: [PATCH] set IsMedia() to static --- Flow.Launcher/ViewModel/ResultViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/ViewModel/ResultViewModel.cs b/Flow.Launcher/ViewModel/ResultViewModel.cs index f20c18ab9..b76af3969 100644 --- a/Flow.Launcher/ViewModel/ResultViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultViewModel.cs @@ -176,7 +176,7 @@ namespace Flow.Launcher.ViewModel public bool PreviewIsImageOrVideo { get; set; } = false; - public bool IsMedia(string extension) + public static bool IsMedia(string extension) { return extension is ".jpg" or ".png"