From 8335821ad080818586f3a09d23a72b4c09da0edc Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 13 Mar 2025 22:02:45 +0800 Subject: [PATCH] Clean up codes --- .../SettingsViewModel.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsViewModel.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsViewModel.cs index a2538893b..e07e30cb2 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsViewModel.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsViewModel.cs @@ -1,21 +1,12 @@ -using Flow.Launcher.Infrastructure.Storage; - -namespace Flow.Launcher.Plugin.WebSearch +namespace Flow.Launcher.Plugin.WebSearch { public class SettingsViewModel { - private readonly PluginJsonStorage _storage; - public SettingsViewModel(Settings settings) { Settings = settings; } public Settings Settings { get; } - - public void Save() - { - _storage.Save(); - } } -} \ No newline at end of file +}