File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 126126
127127 <!-- Toggle switch -->
128128 <Style Selector =" ToggleSwitch" >
129- <Setter Property =" materialAssists:ToggleSwitchAssist.SwitchThumbOffBackground" Value =" {DynamicResource MaterialBackgroundBrush }" />
129+ <Setter Property =" materialAssists:ToggleSwitchAssist.SwitchThumbOffBackground" Value =" {DynamicResource ToggleBackgroundBrush }" />
130130 </Style >
131131
132132 <!-- Tooltip -->
137137 <Setter Property =" TextElement.FontStretch" Value =" Normal" />
138138 </Style >
139139 </Application .Styles>
140+
141+ <Application .Resources>
142+ <ResourceDictionary >
143+ <ResourceDictionary .ThemeDictionaries>
144+ <ResourceDictionary x : Key =" Default" >
145+ <SolidColorBrush x : Key =" ToggleBackgroundBrush" Color =" #FFFFFF" />
146+ </ResourceDictionary >
147+ <ResourceDictionary x : Key =" Dark" >
148+ <SolidColorBrush x : Key =" ToggleBackgroundBrush" Color =" #8E8E8E" />
149+ </ResourceDictionary >
150+ </ResourceDictionary .ThemeDictionaries>
151+ </ResourceDictionary >
152+ </Application .Resources>
140153</Application >
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ namespace DiscordChatExporter.Gui;
2020
2121public class App : Application , IDisposable
2222{
23+ private readonly DisposableCollector _eventRoot = new ( ) ;
24+
2325 private readonly ServiceProvider _services ;
2426 private readonly SettingsService _settingsService ;
2527 private readonly MainViewModel _mainViewModel ;
2628
27- private readonly DisposableCollector _eventRoot = new ( ) ;
28-
2929 public App ( )
3030 {
3131 var services = new ServiceCollection ( ) ;
You can’t perform that action at this time.
0 commit comments