Use IconColor.Theme loader
- Issue MatterHackers/MCCentral#2740 SD Card icons should not be black on dark theme
This commit is contained in:
parent
823feaa82e
commit
54aff1d05f
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
public override Task<ImageBuffer> GetThumbnail(ILibraryItem item, int width, int height)
|
||||
{
|
||||
bool largeIcon = width > 50 || height > 50;
|
||||
var thumbnail = AggContext.StaticData.LoadIcon(Path.Combine(largeIcon ? "icon_sd_card_115x115.png" : "icon_sd_card_50x50.png"));
|
||||
var thumbnail = AggContext.StaticData.LoadIcon(Path.Combine(largeIcon ? "icon_sd_card_115x115.png" : "icon_sd_card_50x50.png"), IconColor.Theme);
|
||||
|
||||
return Task.FromResult(thumbnail);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue