From ca813123e1f0d4bc5bfcc0ab8baac5ca429fe65d Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Fri, 11 Jul 2025 10:17:06 +0800 Subject: [PATCH] fix: import --- src/MaaWpfGui/Configuration/Factory/ConfigFactory.cs | 3 +-- src/MaaWpfGui/Configuration/Global/AnnouncementInfo.cs | 1 + src/MaaWpfGui/Configuration/Global/GUI.cs | 1 + src/MaaWpfGui/Configuration/Global/VersionUpdate.cs | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/MaaWpfGui/Configuration/Factory/ConfigFactory.cs b/src/MaaWpfGui/Configuration/Factory/ConfigFactory.cs index d20a45d592..5ff9f95cfb 100644 --- a/src/MaaWpfGui/Configuration/Factory/ConfigFactory.cs +++ b/src/MaaWpfGui/Configuration/Factory/ConfigFactory.cs @@ -23,7 +23,6 @@ using System.Text.Json.Serialization; using System.Text.Unicode; using System.Threading; using System.Threading.Tasks; -using MaaWpfGui.Configuration.Global; using MaaWpfGui.Configuration.Single; using MaaWpfGui.Helper; using ObservableCollections; @@ -143,7 +142,7 @@ namespace MaaWpfGui.Configuration.Factory OnPropertyChanged("Root.Configurations", null, null); }; - parsed.Timers.CollectionChanged += OnCollectionChangedFactory("Root.Timers."); + parsed.Timers.CollectionChanged += OnCollectionChangedFactory("Root.Timers."); parsed.VersionUpdate.PropertyChanged += OnPropertyChangedFactory(); parsed.AnnouncementInfo.PropertyChanged += OnPropertyChangedFactory(); parsed.GUI.PropertyChanged += OnPropertyChangedFactory(); diff --git a/src/MaaWpfGui/Configuration/Global/AnnouncementInfo.cs b/src/MaaWpfGui/Configuration/Global/AnnouncementInfo.cs index 3e923aad5f..136a8a9c71 100644 --- a/src/MaaWpfGui/Configuration/Global/AnnouncementInfo.cs +++ b/src/MaaWpfGui/Configuration/Global/AnnouncementInfo.cs @@ -12,6 +12,7 @@ // using System.ComponentModel; +using MaaWpfGui.Configuration.Factory; namespace MaaWpfGui.Configuration.Global { diff --git a/src/MaaWpfGui/Configuration/Global/GUI.cs b/src/MaaWpfGui/Configuration/Global/GUI.cs index 76fb698297..1a05ee7aa8 100644 --- a/src/MaaWpfGui/Configuration/Global/GUI.cs +++ b/src/MaaWpfGui/Configuration/Global/GUI.cs @@ -12,6 +12,7 @@ // using System.ComponentModel; +using MaaWpfGui.Configuration.Factory; using MaaWpfGui.Helper; using MaaWpfGui.Models; diff --git a/src/MaaWpfGui/Configuration/Global/VersionUpdate.cs b/src/MaaWpfGui/Configuration/Global/VersionUpdate.cs index bba1262b6c..ab2350f4ca 100644 --- a/src/MaaWpfGui/Configuration/Global/VersionUpdate.cs +++ b/src/MaaWpfGui/Configuration/Global/VersionUpdate.cs @@ -13,6 +13,7 @@ #nullable enable using System.ComponentModel; +using MaaWpfGui.Configuration.Factory; namespace MaaWpfGui.Configuration.Global {