Configutation writer fixed
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Avalonia.Controls;
|
||||
using FluentAvalonia.UI.Controls;
|
||||
using Mediator;
|
||||
using System.Diagnostics;
|
||||
using Toolkit.Framework.Foundation;
|
||||
|
||||
namespace Toolkit.Framework.Avalonia;
|
||||
@@ -92,14 +91,6 @@ public class NavigateHandler : IRequestHandler<Navigate>
|
||||
{
|
||||
hasNavigated = await mediator.Send(new ContentControlNavigation(contentControl, content, template, keyedParameters));
|
||||
}
|
||||
|
||||
if (hasNavigated)
|
||||
{
|
||||
if (content is INavigated navigated)
|
||||
{
|
||||
await navigated.Navigated();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user