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

Fix crash if users only sets selected color on android bottom tabs #20793

Merged
merged 3 commits into from Feb 28, 2024

Conversation

PureWeen
Copy link
Member

Description of Change

When setting just the selected color we weren't account for the user not setting the default color. This PR extracts the default color from the styles and then uses that for the default color

Issues Fixed

Fixes #19299

@PureWeen PureWeen requested a review from a team as a code owner February 22, 2024 22:43
@jsuarezruiz jsuarezruiz added area/TabbedPage TabbedPage t/bug Something isn't working labels Feb 23, 2024
@PureWeen
Copy link
Member Author

/rebase

@PureWeen
Copy link
Member Author

Failing tests unrelated

@PureWeen PureWeen merged commit eb9666b into main Feb 28, 2024
41 of 47 checks passed
@PureWeen PureWeen deleted the fix_19299 branch February 28, 2024 19:52
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/TabbedPage TabbedPage t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android - Setting only SelectedTabColor on TabbedPage causes System.NullReferenceException
3 participants