Skip to content

Commit

Permalink
Fix default theme not applying to language selector dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 9, 2024
1 parent 55852d5 commit 2f92917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Bloxstrap/UI/Elements/Dialogs/LanguageSelectorDialog.xaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<ui:UiWindow x:Class="Bloxstrap.UI.Elements.Dialogs.LanguageSelectorDialog"
<base:WpfUiWindow x:Class="Bloxstrap.UI.Elements.Dialogs.LanguageSelectorDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:local="clr-namespace:Bloxstrap.UI.Elements.Dialogs"
xmlns:base="clr-namespace:Bloxstrap.UI.Elements.Base"
xmlns:resources="clr-namespace:Bloxstrap.Resources"
mc:Ignorable="d"
Title="Bloxstrap"
Expand Down Expand Up @@ -38,4 +39,4 @@
</StackPanel>
</Border>
</Grid>
</ui:UiWindow>
</base:WpfUiWindow>
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public LanguageSelectorDialog()

DataContext = viewModel;
InitializeComponent();
ApplyTheme();

viewModel.CloseRequestEvent += (_, _) => Close();
}
Expand Down

0 comments on commit 2f92917

Please sign in to comment.