public async Task HideDialogAsync() { var currentDialog = await _dialog.GetCurrentDialogAsync <BaseMetroDialog>(); if (currentDialog == null) { return; } if (currentDialog.IsVisible) { await currentDialog.RequestCloseAsync(); } }
public async Task HideDialogAsync() { var currentDialog = await _dialog.GetCurrentDialogAsync <BaseMetroDialog>(); if (currentDialog == null) { return; } if (currentDialog.IsVisible) { await currentDialog.RequestCloseAsync(); } }