mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-24 10:13:58 +00:00
Use a 3-way theme switcher instead of a 2-way switcher (#1233)
This commit is contained in:
@@ -79,18 +79,6 @@ public partial class MainViewModel(
|
||||
[RelayCommand]
|
||||
private async Task InitializeAsync()
|
||||
{
|
||||
// Reset settings (needed to resolve the default dark mode setting)
|
||||
settingsService.Reset();
|
||||
|
||||
// Load settings
|
||||
settingsService.Load();
|
||||
|
||||
// Set the correct theme
|
||||
if (settingsService.IsDarkModeEnabled)
|
||||
App.SetDarkTheme();
|
||||
else
|
||||
App.SetLightTheme();
|
||||
|
||||
await ShowUkraineSupportMessageAsync();
|
||||
await CheckForUpdatesAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user