mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Save settings to JSON file
This commit is contained in:
@@ -9,7 +9,7 @@ namespace RedBookPlayer
|
||||
{
|
||||
public class App : Application
|
||||
{
|
||||
public static string CurrentTheme = "default";
|
||||
public static Settings Settings;
|
||||
|
||||
static App()
|
||||
{
|
||||
@@ -32,6 +32,8 @@ namespace RedBookPlayer
|
||||
{
|
||||
desktop.MainWindow = new MainWindow();
|
||||
desktop.ShutdownMode = ShutdownMode.OnMainWindowClose;
|
||||
|
||||
Settings = Settings.Load("settings.json");
|
||||
}
|
||||
|
||||
base.OnFrameworkInitializationCompleted();
|
||||
|
||||
Reference in New Issue
Block a user