feature: add supports for .webp image format (#421)

This commit is contained in:
leo 2024-08-28 18:58:01 +08:00
parent 3d57398d15
commit a573436b67
No known key found for this signature in database
3 changed files with 8 additions and 7 deletions

View file

@ -536,7 +536,7 @@ namespace SourceGit.ViewModels
private static readonly HashSet<string> IMG_EXTS = new HashSet<string>()
{
".ico", ".bmp", ".jpg", ".png", ".jpeg"
".ico", ".bmp", ".jpg", ".png", ".jpeg", ".webp"
};
private Repository _repo = null;