Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

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

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

P3PPP
Copy link
Contributor

@P3PPP P3PPP commented Jan 22, 2023

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

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@P3PPP
Copy link
Contributor Author

P3PPP commented Jan 24, 2023

@microsoft-github-policy-service agree

@jfversluis
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jfversluis
Copy link
Member

Thanks for this @P3PPP! Much appreciated!

@jfversluis jfversluis merged commit b28fb45 into xamarin:5.0.0 Feb 15, 2023
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] iOS Material Renderers can cause NRE.
3 participants