mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Corrected some tests
Minor code refactor Main page now correctly shows save page even when opening a DB from Explorer
This commit is contained in:
@@ -12,16 +12,8 @@ namespace ModernKeePass.ViewModels
|
||||
public string Name => DatabaseFile?.DisplayName;
|
||||
|
||||
public StorageFile DatabaseFile { get; private set; }
|
||||
|
||||
public OpenVm() : this(null) { }
|
||||
|
||||
public OpenVm(StorageFile file)
|
||||
{
|
||||
if (!IsFileSelected) return;
|
||||
OpenFile(file);
|
||||
}
|
||||
|
||||
public void OpenFile(StorageFile file)
|
||||
|
||||
internal void OpenFile(StorageFile file)
|
||||
{
|
||||
OpenFile(file, RecentService.Instance);
|
||||
}
|
||||
|
Reference in New Issue
Block a user