private async Task HidePurchaseForm() { NavFrame.IsEnabled = true; await _purchaseView.PlayExitTransition(); _purchaseView = null; OverlayContainer.Child = null; }
private void OverlayProvider_ShowPurchaseFormRequested(IOverlayProvider source, bool compactMode) { NavFrame.IsEnabled = false; if (compactMode) { _purchaseView = new CompactPurchaseView(new PurchaseViewModel(ViewModel.OverlayProvider)); } else { _purchaseView = new PurchaseView(new PurchaseViewModel(ViewModel.OverlayProvider)); } OverlayContainer.Child = _purchaseView; }