aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx/Ui/Helper/ThemeHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx/Ui/Helper/ThemeHelper.cs')
-rw-r--r--src/Ryujinx/Ui/Helper/ThemeHelper.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx/Ui/Helper/ThemeHelper.cs b/src/Ryujinx/Ui/Helper/ThemeHelper.cs
index 448afcc9..5289ebc5 100644
--- a/src/Ryujinx/Ui/Helper/ThemeHelper.cs
+++ b/src/Ryujinx/Ui/Helper/ThemeHelper.cs
@@ -16,7 +16,7 @@ namespace Ryujinx.Ui.Helper
if (File.Exists(ConfigurationState.Instance.Ui.CustomThemePath) && (Path.GetExtension(ConfigurationState.Instance.Ui.CustomThemePath) == ".css"))
{
- CssProvider cssProvider = new CssProvider();
+ CssProvider cssProvider = new();
cssProvider.LoadFromPath(ConfigurationState.Instance.Ui.CustomThemePath);
@@ -26,10 +26,10 @@ namespace Ryujinx.Ui.Helper
{
Logger.Warning?.Print(LogClass.Application, $"The \"custom_theme_path\" section in \"Config.json\" contains an invalid path: \"{ConfigurationState.Instance.Ui.CustomThemePath}\".");
- ConfigurationState.Instance.Ui.CustomThemePath.Value = "";
+ ConfigurationState.Instance.Ui.CustomThemePath.Value = "";
ConfigurationState.Instance.Ui.EnableCustomTheme.Value = false;
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
}
}
}
-} \ No newline at end of file
+}