mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
22 lines
No EOL
481 B
C#
22 lines
No EOL
481 B
C#
using Flow.Launcher.Infrastructure.Storage;
|
|
|
|
namespace Flow.Launcher.Plugin.WebSearch
|
|
{
|
|
public class SettingsViewModel
|
|
{
|
|
private readonly PluginJsonStorage<Settings> _storage;
|
|
|
|
public SettingsViewModel()
|
|
{
|
|
_storage = new PluginJsonStorage<Settings>();
|
|
Settings = _storage.Load();
|
|
}
|
|
|
|
public Settings Settings { get; set; }
|
|
|
|
public void Save()
|
|
{
|
|
_storage.Save();
|
|
}
|
|
}
|
|
} |