mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 03:13:48 +00:00
Extended code analyzers (#293)
This commit is contained in:
1 parent
99dac520cb
commit
5e3b632eee
22 files changed
+1099
-50
No files matched your search
@@ -2,15 +2,12 @@ namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public static class ThemesExtensions
|
||||
{
|
||||
public static string GetName(this Themes theme)
|
||||
public static string GetName(this Themes theme) => theme switch
|
||||
{
|
||||
return theme switch
|
||||
{
|
||||
Themes.SYSTEM => "Synchronized with the operating system settings",
|
||||
Themes.LIGHT => "Always use light theme",
|
||||
Themes.DARK => "Always use dark theme",
|
||||
|
||||
_ => "Unknown setting",
|
||||
};
|
||||
}
|
||||
Themes.SYSTEM => "Synchronized with the operating system settings",
|
||||
Themes.LIGHT => "Always use light theme",
|
||||
Themes.DARK => "Always use dark theme",
|
||||
|
||||
_ => "Unknown setting",
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user