Skip to content

Commit

Permalink
chore: fix template builder tp context
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoy312 committed Jul 24, 2024
1 parent e74de78 commit ce157bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Markup/Reader/XamlObjectBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void TrySetContextualProperties(object? instance, XamlObjectDefinition control)
{
var contentOwner = unknownContent;
return LoadObject(contentOwner?.Objects.FirstOrDefault(), rootInstance: rootInstance, settings: settings) as _View;
return LoadObject(contentOwner?.Objects.FirstOrDefault(), rootInstance: rootInstance, settings: s) as _View;
};

var created = Activator.CreateInstance(type, /* owner: */null, /* factory: */builder);
Expand Down

0 comments on commit ce157bc

Please sign in to comment.