feat: SVG support in Image viewer app
This commit is contained in:
@@ -45,7 +45,9 @@ bool str_ends_with(const char* s, const char* suffix) {
|
||||
}
|
||||
|
||||
bool is_image_file(const char* name) {
|
||||
return str_ends_with(name, ".jpg") || str_ends_with(name, ".jpeg");
|
||||
return str_ends_with(name, ".jpg")
|
||||
|| str_ends_with(name, ".jpeg")
|
||||
|| str_ends_with(name, ".svg");
|
||||
}
|
||||
|
||||
bool is_font_file(const char* name) {
|
||||
|
||||
Reference in New Issue
Block a user