Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 31b0659

Browse files
committed
Uncomment ViewLocator.
1 parent 63d3fe5 commit 31b0659

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/GitHub.VisualStudio/Views/Dialog/GitHubDialogWindow.xaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:pfui="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.14.0"
7+
xmlns:local="clr-namespace:GitHub.VisualStudio.Views"
78
xmlns:ghfvs="https://github.com/github/VisualStudio"
89
mc:Ignorable="d"
910
Title="{Binding Content.Title, FallbackValue=GitHub}"
@@ -24,9 +25,9 @@
2425
WindowStartupLocation="CenterOwner"
2526
Content="{Binding Content}">
2627
<Window.Resources>
27-
<!--<ghfvs:ViewLocator x:Key="viewLocator"/>-->
28-
<!--<DataTemplate DataType="{x:Type ghfvs:ViewModelBase}">
28+
<local:ViewLocator x:Key="viewLocator"/>
29+
<DataTemplate DataType="{x:Type ghfvs:ViewModelBase}">
2930
<ContentControl Content="{Binding Converter={StaticResource viewLocator}}"/>
30-
</DataTemplate>-->
31+
</DataTemplate>
3132
</Window.Resources>
3233
</pfui:DialogWindow>

0 commit comments

Comments
 (0)