Emit message on successful dat import.

This commit is contained in:
2020-09-21 00:47:07 +01:00
parent b8b41121e3
commit 4d3f8f6d01
5 changed files with 18 additions and 6 deletions

View File

@@ -305,12 +305,12 @@ namespace RomRepoMgr.ViewModels
Task.Run(_worker.Import);
}
void OnWorkerOnWorkFinished(object sender, EventArgs args) => Dispatcher.UIThread.Post(() =>
void OnWorkerOnWorkFinished(object sender, MessageEventArgs args) => Dispatcher.UIThread.Post(() =>
{
ImportResults.Add(new ImportDatFolderItem
{
Filename = Path.GetFileName(_datFiles[_listPosition]),
Status = Localization.OK
Status = args.Message
});
_listPosition++;