Skip to content

Commit

Permalink
reset IsDialogHost property
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Jun 6, 2019
1 parent 24e54a1 commit d301c7d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private IDialogResult CloseDialog(IDialogParameters parameters, ContentPage curr
var pageContainer = (DialogContainer)hostView.Children.First(x => x is DialogContainer dc && dc.IsPageContent);
contentPage.Content = pageContainer.Content;
contentPage.Padding = pageContainer.Padding;
contentPage.SetValue(IsPopupHostProperty, false);

PageUtilities.InvokeViewAndViewModelAction<IActiveAware>(view, aa => aa.IsActive = false);
PageUtilities.InvokeViewAndViewModelAction<IActiveAware>(currentPage, aa => aa.IsActive = true);
Expand Down

0 comments on commit d301c7d

Please sign in to comment.