Skip to content

Commit

Permalink
refactor: Improve default App.xaml template
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Mar 3, 2022
1 parent 4b9321b commit aa0d14c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions src/SolutionTemplate/UnoSolutionTemplate.net6/Shared/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:$ext_safeprojectname$">

<Application.Resources>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</Application.Resources>
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<!-- Add resource dictionaries here -->
</ResourceDictionary.MergedDictionaries>
<!-- Add resources here -->
</ResourceDictionary>
</Application.Resources>

</Application>
3 changes: 2 additions & 1 deletion src/SolutionTemplate/UnoSolutionTemplate/Shared/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<!-- Place resources here -->
<!-- Add resource dictionaries here -->
</ResourceDictionary.MergedDictionaries>
<!-- Add resources here -->
</ResourceDictionary>
</Application.Resources>

Expand Down

0 comments on commit aa0d14c

Please sign in to comment.