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