Skip to content

Commit 8335821

Browse files
committed
Clean up codes
1 parent 01e8be7 commit 8335821

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed
Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
1-
using Flow.Launcher.Infrastructure.Storage;
2-
3-
namespace Flow.Launcher.Plugin.WebSearch
1+
namespace Flow.Launcher.Plugin.WebSearch
42
{
53
public class SettingsViewModel
64
{
7-
private readonly PluginJsonStorage<Settings> _storage;
8-
95
public SettingsViewModel(Settings settings)
106
{
117
Settings = settings;
128
}
139

1410
public Settings Settings { get; }
15-
16-
public void Save()
17-
{
18-
_storage.Save();
19-
}
2011
}
21-
}
12+
}

0 commit comments

Comments
 (0)