coder / coder/coder-desktop-windows

SVG app icons don't load unless the URL ends in .svg

Abierto
#91 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
26
Forks
12
Merge medio
6 h 50 min
PR fusionados (30 d)
1

Descripción

Since there's no `ImageSource` that can load both `.svg` and bitmap images, and instead there's a separate `SvgImageSource` and `BitmapImage`, we currently only attempt to load SVGs when the URL ends in `.svg`. We don't have much control over the actual downloading/caching operations of these sources.

One potential solution is to do a `HEAD` request first to get the `Content-Type` of the image, but it won't be easy to cache that result.

Another would be to download/cache images ourselves.

Relates to #92

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.