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

Fixes Issue #211: Adding Functionality to The Loading Indicator #212

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

teamomiamigo
Copy link
Collaborator

This pull request adds a loading indicator on the login button during the login process. The changes include:

  • Added a loading state using React's useState hook to track the login process.
  • Updated the onLoginPress function to set loading to true at the start of the login process and back to false after the process completes.
  • Conditionally render an ActivityIndicator on the login button when loading is true.
  • Ensure that the button is responsive to user interactions.
  • Removes a time delay on the login to make more seamless and faster logging in
    Files Changed:
    LoginScreen.tsx

@yashb196 yashb196 merged commit 0d8f526 into main Dec 13, 2024
1 check passed
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.

[Feature] Add loading indicator to login button to show authentication progress
3 participants