mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Update master key works
Key file creation works Code cleanup
This commit is contained in:
@@ -49,7 +49,7 @@ namespace ModernKeePass.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsValid => !_isOpening && (HasPassword || HasKeyFile && KeyFilePath != null);
|
||||
public bool IsValid => !_isOpening && (HasPassword || HasKeyFile && !string.IsNullOrEmpty(KeyFilePath));
|
||||
|
||||
public string Status
|
||||
{
|
||||
@@ -113,7 +113,6 @@ namespace ModernKeePass.ViewModels
|
||||
private string _keyFileText;
|
||||
private string _openButtonLabel;
|
||||
|
||||
|
||||
public OpenDatabaseControlVm() : this(
|
||||
App.Services.GetRequiredService<IMediator>(),
|
||||
App.Services.GetRequiredService<IResourceProxy>(),
|
||||
|
Reference in New Issue
Block a user