Wintergreen icon theme returns nil if there is no suitable icon

This commit is contained in:
Sasha Koshka 2024-05-28 22:00:06 -04:00
parent bea78be331
commit fc41696b5e

View File

@ -436,7 +436,7 @@ func (this *iconTheme) Icon (icon tomo.Icon, size tomo.IconSize) canvas.Texture
if texture, ok := source[icon]; ok {
return texture
}
return source[tomo.IconUnknown]
return nil
}
func (this *iconTheme) MimeIcon (mime data.Mime, size tomo.IconSize) canvas.Texture {