Skip to content

fix: don't crash when no elements are found #318

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

Merged
merged 2 commits into from
Feb 26, 2025
Merged

fix: don't crash when no elements are found #318

merged 2 commits into from
Feb 26, 2025

Conversation

okwasniewski
Copy link
Collaborator

PR Description

This PR uses .firstOrNull instead of .first which doesn't throw an exception.

Copy link

changeset-bot bot commented Feb 26, 2025

🦋 Changeset detected

Latest commit: 7fc7d1a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
react-native-bottom-tabs Patch
@bottom-tabs/expo-template Patch
@bottom-tabs/react-navigation Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@okwasniewski okwasniewski linked an issue Feb 26, 2025 that may be closed by this pull request
3 tasks
@okwasniewski okwasniewski merged commit b04abac into main Feb 26, 2025
7 checks passed
@okwasniewski okwasniewski deleted the fix/317 branch February 26, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CRASH] inactiveTintColor of a view managed by: RNCTabView
1 participant