Skip to content

Commit

Permalink
Merge branch 'dev/dr/brushReflection' of https://github.com/unoplatfo…
Browse files Browse the repository at this point in the history
…rm/uno into dev/dr/brushReflection
  • Loading branch information
dr1rrb committed May 23, 2024
2 parents 5c81a9e + d3ed372 commit 65cc5ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI/Helpers/WeakEvents/WeakEventManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void AddEventHandler(Action? handler, [CallerMemberName] string eventName

if (handler is null)
{
// Allow handler to be nullable to not having to deal with nullability checks in callsites, but this indicates a bug.
// Allow handler to be nullable to not have to deal with nullability checks in callsites, but this indicates a bug.
Debug.Fail($"Got a null event handler for event {eventName}.");
return;
}
Expand All @@ -44,7 +44,7 @@ public void RemoveEventHandler(Action? handler, [CallerMemberName] string eventN

if (handler is null)
{
// Allow handler to be nullable to not having to deal with nullability checks in callsites, but this indicates a bug.
// Allow handler to be nullable to not have to deal with nullability checks in callsites, but this indicates a bug.
Debug.Fail($"Got a null event handler for event {eventName}.");
return;
}
Expand Down

0 comments on commit 65cc5ed

Please sign in to comment.