mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00
Opening Databases now use a Messenger service
This commit is contained in:
@@ -42,8 +42,7 @@ namespace ModernKeePass.ViewModels
|
||||
|
||||
public ICommand ClearAllCommand { get; }
|
||||
|
||||
public RecentVm() : this (App.Services.GetRequiredService<IRecentProxy>())
|
||||
{ }
|
||||
public RecentVm() : this (App.Services.GetRequiredService<IRecentProxy>()) { }
|
||||
|
||||
public RecentVm(IRecentProxy recent)
|
||||
{
|
||||
@@ -55,6 +54,11 @@ namespace ModernKeePass.ViewModels
|
||||
if (RecentItems.Count > 0)
|
||||
SelectedItem = RecentItems[0];
|
||||
}
|
||||
|
||||
public void UpdateAccessTime(string token)
|
||||
{
|
||||
_recent.Get(token, true).Wait();
|
||||
}
|
||||
|
||||
private void ClearAll()
|
||||
{
|
||||
|
Reference in New Issue
Block a user