Allow changing logo

This commit is contained in:
Jaex 2021-11-26 22:15:24 +03:00
parent 2d8e98a7f8
commit 09d6ee5126

View file

@ -103,7 +103,23 @@ public static Icon Icon
}
}
public static Bitmap Logo => Resources.ShareX_Logo;
private static Bitmap logo = Resources.ShareX_Logo;
public static Bitmap Logo
{
get
{
return logo.CloneSafe();
}
set
{
if (logo != value)
{
logo?.Dispose();
logo = value;
}
}
}
public static ShareXTheme Theme { get; set; } = ShareXTheme.DarkTheme;