mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
26 lines
624 B
C#
26 lines
624 B
C#
namespace Flow.Launcher.Core.Resource
|
|
{
|
|
public class ThemeManager
|
|
{
|
|
private static Theme instance;
|
|
private static object syncObject = new object();
|
|
|
|
public static Theme Instance
|
|
{
|
|
get
|
|
{
|
|
if (instance == null)
|
|
{
|
|
lock (syncObject)
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = new Theme();
|
|
}
|
|
}
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
}
|