Fix build issue & Improve code quality

This commit is contained in:
Jack251970 2025-09-21 22:00:58 +08:00
parent 785d14945c
commit 06dc688f49

View file

@ -1,5 +1,5 @@
using System.IO;
using System.Linq;
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
@ -37,8 +37,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views
ShowInTaskbar = false;
RenameTb.Focus();
var window = Window.GetWindow(this);
window.KeyDown += (s, e) =>
KeyDown += (s, e) =>
{
if (e.Key == Key.Escape)
{