Skip to content

Commit 4c6ffbe

Browse files
author
Osman Tunçelli
committed
Changed to use non-obsolete FileType constructor.
1 parent c8f471e commit 4c6ffbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SvgFileType/SvgFileType.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ public class SvgFileType : FileType
1919
public SvgFileType()
2020
: base(
2121
"Scalable Vector Graphics",
22-
FileTypeFlags.SupportsLoading,
23-
new[] {".svg", ".svgz"})
22+
new FileTypeOptions {LoadExtensions = new[] {".svg", ".svgz"}})
2423
{
2524
}
2625

0 commit comments

Comments
 (0)