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

[MacOS] Fix NRE with NavigationPage on pre-Mojave #8950

Merged
merged 1 commit into from Jan 2, 2020
Merged

Conversation

jfversluis
Copy link
Member

@jfversluis jfversluis commented Dec 18, 2019

Description of Change

Fixes NRE when using Xamarin.Forms with Mac OS on pre-Mojave OS versions with a NavigationPage

Issues Resolved

API Changes

None

Platforms Affected

  • Mac OS

Behavioral/Visual Changes

From #6981 we used a property that is available only from Mojave (10.14) and up. This causes an NRE on apps using Xamarin.Forms on OS versions older than that. This change checks the OS version first.

Before/After Screenshots

Not applicable

Testing Procedure

Run the gallery app on a pre-Mojave machine

PR Checklist

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

@samhouts samhouts merged commit 6c872d3 into 4.4.0 Jan 2, 2020
v4.4.0 automation moved this from In Review to Done Jan 2, 2020
@samhouts samhouts deleted the fix-8261 branch January 2, 2020 19:07
@samhouts samhouts added the approved Has two approvals, no pending reviews, and no changes requested label Jan 2, 2020
@samhouts samhouts added this to the 4.4.0 milestone Jan 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Has two approvals, no pending reviews, and no changes requested i/regression p/iOS 🍎 p/macOS t/bug 🐛
Projects
No open projects
v4.4.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants