Windows modal key bubbling fix

This commit is contained in:
2022-05-24 09:50:34 +02:00
parent 60ab7f94ea
commit b2db3675e8
2 changed files with 10 additions and 3 deletions

View File

@@ -11,9 +11,9 @@ public class ModalService : IModalService
public ModalService()
{
OpenModals = _openModals.Connect();
OpenModals = _openModals.Connect().StartWithEmpty();
}
public void OpenModal(IModalViewModelBase modalToOpen) => _openModals.Add(modalToOpen);
public void CloseModal(IModalViewModelBase modalToClose) => _openModals.Remove(modalToClose);