Skip to content

Commit

Permalink
fix(android): Restore inheritance workaround for android
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Oct 8, 2024
1 parent 19e9529 commit 519736e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Uno.UI/UI/Xaml/DependencyObjectStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,13 @@ private void CleanupInheritedProperties()
return (localProperty, propertyDetails);
}
}
else if (property.IsAttached && property.IsInherited)
else if (property.IsAttached
&& property.IsInherited

#if __ANDROID__
&& _properties.GetPropertyDetails(property) is { }
#endif
)
{
return (property, _properties.GetPropertyDetails(property));
}
Expand Down

0 comments on commit 519736e

Please sign in to comment.