Skip to content

Commit

Permalink
Fix dark mode not working in new process popups
Browse files Browse the repository at this point in the history
  • Loading branch information
micahmo committed Dec 16, 2021
1 parent b7c08ed commit ae752f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RDPoverSSH/Views/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
using RDPoverSSH.Models;
using RDPoverSSH.Utilities;
using RDPoverSSH.ViewModels;
using RDPoverSSH.ViewModels.Settings;

namespace RDPoverSSH.Views
{
Expand All @@ -44,6 +45,10 @@ public MainWindow()
RootControl.Visibility = Visibility.Hidden;
Width = 500;
Height = 525;

// Poke the dark mode setting so we get the right theme, even if we're not loading the main UI
var _ = GlobalSettings.DarkModeSetting;

return;
}

Expand Down

0 comments on commit ae752f2

Please sign in to comment.