mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Added dirty behavior
Removed restore action (-> Move action wip) Added additional check on DB size before auto saving Code cleanup
This commit is contained in:
@@ -25,9 +25,7 @@ namespace ModernKeePass.Infrastructure.KeePass
|
||||
private Credentials _credentials;
|
||||
// Flag: Has Dispose already been called?
|
||||
private bool _disposed;
|
||||
|
||||
public string ZeroId => PwUuid.Zero.ToHexString();
|
||||
|
||||
|
||||
// Main information
|
||||
public bool IsOpen => (_pwDatabase?.IsOpen).GetValueOrDefault();
|
||||
public string Name => _pwDatabase?.Name;
|
||||
@@ -35,6 +33,8 @@ namespace ModernKeePass.Infrastructure.KeePass
|
||||
|
||||
// TODO: find a correct place for this
|
||||
public string FileAccessToken { get; set; }
|
||||
public int Size { get; set; }
|
||||
public bool IsDirty { get; set; }
|
||||
|
||||
// Settings
|
||||
public bool IsRecycleBinEnabled
|
||||
|
Reference in New Issue
Block a user