add missing null check.
MODIFY
WalletWasabi.Fluent/Behaviors/FocusFirstTextBoxInItemsControlBehavior.cs
WalletWasabi.Fluent/Behaviors/FocusFirstTextBoxInItemsControlBehavior.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.Fluent.Behaviors
private void OnLayoutUpdated(object? sender, EventArgs e)
{
AssociatedObject!.LayoutUpdated -= OnLayoutUpdated;
- AssociatedObject.FindLogicalDescendantOfType<TextBox>().Focus();
+ AssociatedObject.FindLogicalDescendantOfType<TextBox>()?.Focus();
}
}
}
\ No newline at end of file

add missing null check.