Skip to content

Commit b510c15

Browse files
committed
fixed example
1 parent 0a62b78 commit b510c15

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

examples/MonoGameIntegrationDemo/App.axaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ public override void OnFrameworkInitializationCompleted()
2020
{
2121
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
2222
{
23-
// Line below is needed to remove Avalonia data validation.
24-
// Without this line you will get duplicate validations from both Avalonia and CT
25-
BindingPlugins.DataValidators.RemoveAt(0);
2623
desktop.MainWindow = new MainWindow
2724
{
2825
DataContext = new MainWindowViewModel(),

0 commit comments

Comments
 (0)