Skip to content

Commit aa05036

Browse files
CopilotYBTopaz8
andcommitted
Add explicit nullable annotation for clarity
Co-authored-by: YBTopaz8 <41630728+YBTopaz8@users.noreply.github.com>
1 parent f135733 commit aa05036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dimmer/Dimmer.WinUI/Utils/WinMgt/WinUIWindowMgrService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public WinUIWindowMgrService(IServiceProvider mauiServiceProvider)
158158
{
159159
if (callerVM == null) return null;
160160

161-
T targetWindow = null;
161+
T? targetWindow = null;
162162

163163
if (_trackedUniqueTypedWindows.TryGetValue(typeof(T), out var existingGenericWindow) && existingGenericWindow is T existingTypedWindow)
164164
{

0 commit comments

Comments
 (0)