Skip to content

Commit 58bc4bb

Browse files
authored
Fix: Fixed TypeInitializationException in UIHelpers (#15889)
1 parent 0bb698d commit 58bc4bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Files.App/Helpers/UI/UIHelpers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private static IconFileInfo LoadShieldIconResource()
152152
Constants.ImageRes.ShieldIcon
153153
}, 16);
154154

155-
return imageResList.First();
155+
return imageResList.FirstOrDefault();
156156
}
157157
}
158-
}
158+
}

0 commit comments

Comments
 (0)