Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Fix NRE in Shell SearchHandlerAppearanceTracker #24970

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aheubusch
Copy link

@aheubusch aheubusch commented Sep 27, 2024

Description of Change

Fix crash on iOS involving Shell SearchHandler.
Fallback to _defaultPlaceholderTintColor if targetColor is null in UpdateClearPlaceholderIconColor.

Issues Fixed

Fixes #19504
A previous PR fixed an identical problem #11927

Steps to Reproduce

Create a shell with two shell content. Add a SearchHandler to one ShellContent ContentPage.
Start application. Click on the SearchHandler. Navigate to the other page. Navigate back. NullReferenceException crash.

@aheubusch aheubusch requested a review from a team as a code owner September 27, 2024 14:20
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 27, 2024
@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@aheubusch
Copy link
Author

@jfversluis Sorry to be annoying. Can we retry the failed checks or even better just wave this PR through =) I dare say the change wont break anything.
Two failed in task "Install .NET". One timed out in task "Android emulator tests Graphics_API_23".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointer from SearchHandlerAppearanceTracker on iOS
2 participants