Skip to content

Commit 6ca2991

Browse files
committed
Fix typo in conditional statement for PopupRoot
1 parent faee39c commit 6ca2991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Caliburn.Micro.Platform/ActionMessage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public override string ToString()
601601
var pElement = BindingScope.GetVisualParent(currentElement);
602602
if(pElemenet != null && currentElement.GetType().Name.Equals("PopupRoot", StringComparison.OrdinalIgnoreCase))
603603
{
604-
If(currentElement is PopupRoot popupRoot && popupRoot.Parent is Popup popup)
604+
if(currentElement is PopupRoot popupRoot && popupRoot.Parent is Popup popup)
605605
{
606606
pElement = popup.PlacementTarget;
607607
}

0 commit comments

Comments
 (0)