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

@@ -126,9 +126,9 @@ namespace RomRepoMgr.ViewModels
public string CloseLabel => Localization.CloseLabel;
public ReactiveCommand<Unit, Unit> CloseCommand { get; }
void OnWorkerOnWorkFinished(object sender, EventArgs args) => Dispatcher.UIThread.Post(() =>
void OnWorkerOnWorkFinished(object sender, MessageEventArgs args) => Dispatcher.UIThread.Post(() =>
{
StatusMessage = Localization.Finished;
StatusMessage = args.Message;
ProgressVisible = false;
CanClose = true;
});