mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00
21 lines
564 B
C#
21 lines
564 B
C#
using ModernKeePass.Application.Common.Interfaces;
|
|
using ModernKeePass.Common;
|
|
|
|
namespace ModernKeePass.ViewModels.ListItems
|
|
{
|
|
public class SettingsSaveVm
|
|
{
|
|
private readonly ISettingsProxy _settings;
|
|
|
|
public SettingsSaveVm(ISettingsProxy settings)
|
|
{
|
|
_settings = settings;
|
|
}
|
|
|
|
public bool IsSaveSuspend
|
|
{
|
|
get { return _settings.GetSetting(Constants.Settings.SaveSuspend, true); }
|
|
set { _settings.PutSetting(Constants.Settings.SaveSuspend, value); }
|
|
}
|
|
}
|
|
} |