Browse Source

Fix build failure.

pull/1136/head
Steven Kirk 9 years ago
parent
commit
51f9cbe49d
  1. 2
      samples/ControlCatalog/MainWindow.xaml.cs

2
samples/ControlCatalog/MainWindow.xaml.cs

@ -19,7 +19,7 @@ namespace ControlCatalog
// so we must refer to this resource DLL statically. For
// now I am doing that here. But we need a better solution!!
var theme = new Avalonia.Themes.Default.DefaultTheme();
theme.TryGetResource("Button");
theme.TryGetResource("Button", out var button);
AvaloniaXamlLoader.Load(this);
}
}

Loading…
Cancel
Save