diff --git a/DiscordChatExporter.Gui/Services/SettingsService.cs b/DiscordChatExporter.Gui/Services/SettingsService.cs
index 000fc7e7..6a3ecfd8 100644
--- a/DiscordChatExporter.Gui/Services/SettingsService.cs
+++ b/DiscordChatExporter.Gui/Services/SettingsService.cs
@@ -6,13 +6,13 @@ namespace DiscordChatExporter.Gui.Services
{
public class SettingsService : SettingsManager
{
- public string DateFormat { get; set; } = "dd-MMM-yy hh:mm tt";
-
public bool IsAutoUpdateEnabled { get; set; } = true;
+ public bool IsDarkModeEnabled { get; set; }
+
public bool IsTokenPersisted { get; set; } = true;
- public bool IsDarkThemeEnabled { get; set; } = false;
+ public string DateFormat { get; set; } = "dd-MMM-yy hh:mm tt";
public int ParallelLimit { get; set; } = 1;
diff --git a/DiscordChatExporter.Gui/ViewModels/Dialogs/SettingsViewModel.cs b/DiscordChatExporter.Gui/ViewModels/Dialogs/SettingsViewModel.cs
index 2f71ec28..6a5a76f1 100644
--- a/DiscordChatExporter.Gui/ViewModels/Dialogs/SettingsViewModel.cs
+++ b/DiscordChatExporter.Gui/ViewModels/Dialogs/SettingsViewModel.cs
@@ -8,28 +8,28 @@ namespace DiscordChatExporter.Gui.ViewModels.Dialogs
{
private readonly SettingsService _settingsService;
- public string DateFormat
- {
- get => _settingsService.DateFormat;
- set => _settingsService.DateFormat = value;
- }
-
public bool IsAutoUpdateEnabled
{
get => _settingsService.IsAutoUpdateEnabled;
set => _settingsService.IsAutoUpdateEnabled = value;
}
+ public bool IsDarkModeEnabled
+ {
+ get => _settingsService.IsDarkModeEnabled;
+ set => _settingsService.IsDarkModeEnabled = value;
+ }
+
public bool IsTokenPersisted
{
get => _settingsService.IsTokenPersisted;
set => _settingsService.IsTokenPersisted = value;
}
- public bool IsDarkThemeEnabled
+ public string DateFormat
{
- get => _settingsService.IsDarkThemeEnabled;
- set => _settingsService.IsDarkThemeEnabled = value;
+ get => _settingsService.DateFormat;
+ set => _settingsService.DateFormat = value;
}
public int ParallelLimit
diff --git a/DiscordChatExporter.Gui/ViewModels/RootViewModel.cs b/DiscordChatExporter.Gui/ViewModels/RootViewModel.cs
index 4a1d238e..4f442d03 100644
--- a/DiscordChatExporter.Gui/ViewModels/RootViewModel.cs
+++ b/DiscordChatExporter.Gui/ViewModels/RootViewModel.cs
@@ -108,7 +108,7 @@ namespace DiscordChatExporter.Gui.ViewModels
TokenValue = _settingsService.LastToken.Value;
}
- if (_settingsService.IsDarkThemeEnabled)
+ if (_settingsService.IsDarkModeEnabled)
{
App.SetDarkTheme();
}
diff --git a/DiscordChatExporter.Gui/Views/Dialogs/ExportSetupView.xaml b/DiscordChatExporter.Gui/Views/Dialogs/ExportSetupView.xaml
index a3470f88..23aeaf0d 100644
--- a/DiscordChatExporter.Gui/Views/Dialogs/ExportSetupView.xaml
+++ b/DiscordChatExporter.Gui/Views/Dialogs/ExportSetupView.xaml
@@ -54,7 +54,7 @@
diff --git a/DiscordChatExporter.Gui/Views/Dialogs/SettingsView.xaml b/DiscordChatExporter.Gui/Views/Dialogs/SettingsView.xaml
index cb9e5b56..d01de4d9 100644
--- a/DiscordChatExporter.Gui/Views/Dialogs/SettingsView.xaml
+++ b/DiscordChatExporter.Gui/Views/Dialogs/SettingsView.xaml
@@ -17,14 +17,6 @@
FontSize="17"
Text="Settings" />
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -210,13 +210,13 @@
-
+
-
+
-
+
@@ -269,7 +269,9 @@
+ Margin="12,4,12,4"
+ Stroke="{DynamicResource MaterialDesignDivider}"
+ StrokeThickness="1">
@@ -303,7 +305,7 @@
Padding="0"
Background="Transparent"
BorderBrush="{DynamicResource MaterialDesignDivider}"
- BorderThickness="0,1,0,0"
+ BorderThickness="0,0,0,1"
Header="{Binding Name}"
IsExpanded="False">