Add using when creating a file/folder dialog

This commit is contained in:
Yusyuriv 2024-11-03 13:28:24 +06:00
parent 6604710a3f
commit 1bdfc3009d
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

@ -253,7 +253,7 @@ namespace Flow.Launcher.Core.Plugin
Btn.Click += (_, _) =>
{
CommonDialog dialog = type switch
using CommonDialog dialog = type switch
{
"inputWithFolderBtn" => new FolderBrowserDialog(),
_ => new OpenFileDialog(),