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(ui): add custom Switch component #2427

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

fix(ui): add custom Switch component #2427

wants to merge 1 commit into from

Conversation

pwltr
Copy link
Collaborator

@pwltr pwltr commented Jan 8, 2025

Description

Adds a custom <Switch /> component. The native switch component on iOS is not animated when controlled (ie. clicking row instead of switch itself), this custom one is.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (improving code without creating new functionality)

Tests

  • Detox test
  • Unit test
  • No test

Screenshots

Before:

Simulator.Screen.Recording.-.iPhone.16.-.2025-01-08.at.13.47.41.mp4

After:

Simulator.Screen.Recording.-.iPhone.16.-.2025-01-08.at.13.45.25.mp4

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.

1 participant