Skip to content

Commit

Permalink
Remove first data validator (avalonia bolierplate)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Sep 9, 2023
1 parent a31501f commit 9b54729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NxEditor/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Controls.Notifications;
using Avalonia.Data.Core.Plugins;
using Avalonia.Markup.Xaml;
using Avalonia.VisualTree;
using ConfigFactory.Avalonia.Helpers;
Expand Down Expand Up @@ -35,6 +36,7 @@ public override async void OnFrameworkInitializationCompleted()
Frontend.Register<IEditorManager>(EditorManager.Shared);

if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) {
BindingPlugins.DataValidators.RemoveAt(0);
ShellViewModel.Shared.InitDock();
Config.SetTheme(Config.Shared.Theme);

Expand Down

0 comments on commit 9b54729

Please sign in to comment.