xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.63k stars 1.87k forks source link

[Material] Fixed Renderer's LayoutSubviews may cause NRE. #15670

Closed P3PPP closed 1 year ago

P3PPP commented 1 year ago

Description of Change

[Material] Fixed Renderer's LayoutSubviews may cause NullReferenceException on iOS.

var bgBrush = Element.Background;

to

var bgBrush = Element?.Background;

Issues Resolved

API Changes

None

Platforms Affected

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

P3PPP commented 1 year ago

@microsoft-github-policy-service agree

jfversluis commented 1 year ago

/azp run

azure-pipelines[bot] commented 1 year ago
Azure Pipelines successfully started running 1 pipeline(s).
jfversluis commented 1 year ago

Thanks for this @P3PPP! Much appreciated!