Skip to content

Commit

Permalink
fix(android): Restore inheritance workaround for android
Browse files Browse the repository at this point in the history
(cherry picked from commit 519736e)
  • Loading branch information
jeromelaban authored and mergify[bot] committed Oct 9, 2024
1 parent 4ec754c commit 0222291
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 @@ -1362,7 +1362,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 0222291

Please sign in to comment.