mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
27 lines
608 B
C#
27 lines
608 B
C#
namespace Wox.Core.Theme
|
|
{
|
|
public class ThemeManager
|
|
{
|
|
private static Theme instance;
|
|
private static object syncObject = new object();
|
|
|
|
public static Theme Theme
|
|
{
|
|
get
|
|
{
|
|
if (instance == null)
|
|
{
|
|
lock (syncObject)
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = new Theme();
|
|
}
|
|
}
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
}
|