Show initial category count
This commit is contained in:
@@ -9,7 +9,7 @@ public class ContentDialogHandler(IDispatcher dispatcher) :
|
||||
{
|
||||
public async Task Handle(NavigateEventArgs<ContentDialog> args)
|
||||
{
|
||||
if (args.Region is ContentDialog contentDialog)
|
||||
if (args.Template is ContentDialog contentDialog)
|
||||
{
|
||||
contentDialog.DataContext = args.Content;
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ public class FrameHandler :
|
||||
await deactivated.OnDeactivated();
|
||||
}
|
||||
|
||||
if (content is not INavigationBackStack)
|
||||
if (content is not IKeepAlive)
|
||||
{
|
||||
if (content is IDisposable disposable)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user