Skip to content

Commit b831d7c

Browse files
committed
Fix nullability
1 parent b3994bd commit b831d7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WinUIEx/SvgIconHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ private static bool TryGetViewBoxSize(XElement root, out float width, out float
366366
{
367367
width = 0;
368368
height = 0;
369-
string viewBox = (string?)root.Attribute("viewBox");
369+
string? viewBox = (string?)root.Attribute("viewBox");
370370
if (string.IsNullOrWhiteSpace(viewBox))
371371
return false;
372372

0 commit comments

Comments
 (0)