Skip to content

Commit 49a1664

Browse files
authored
Code Quality: Use constructor instead of collection expression for the properties window cache (#15337)
1 parent bdfd813 commit 49a1664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Utils/Storage/Helpers/FilePropertiesHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static nint GetWindowHandle(Window w)
3737
=> WinRT.Interop.WindowNative.GetWindowHandle(w);
3838

3939
private static TaskCompletionSource? PropertiesWindowsClosingTCS;
40-
private static BlockingCollection<WinUIEx.WindowEx> WindowCache = [];
40+
private static BlockingCollection<WinUIEx.WindowEx> WindowCache = new();
4141

4242
/// <summary>
4343
/// Open properties window

0 commit comments

Comments
 (0)